since ‎01-05-2014
‎10-12-2019
vdhim23
Level 3
Hide Parsys vdhim23 - Adobe Experience Manager
HiI have component which include the parsys1 at render time. When i add that component in parsys then it create parsys1 & new parsys1 generate down to that component. I would like implement the functionality in such a way that if I drag and drop the component, it should hide the next parsys1. How can i achieve this?Thanks
84
Views
0
Likes
2
Answers and Comments
Re: Get property of parent par inside child component's dialog vdhim23 - Adobe Experience Manager
KarthiCQ5 wrote... Hi, you can get the path of current node inside loadcontent listener as like, function(dialog){ var compPath = dialog.path; var data = CQ.Util.eval(CQ.HTTP.get(path.json)); //iterate the data to get your required value. }, If you want the parent node value then can you manipulate the same using currentnode path. Hope this will work for you. Thanks, Karthi KarthiCQ5 wrote... Hi, you can get the path of current node inside loadcontent listener as like, function(dialog){ var comp...
158
Views
0
Likes
0
Answers
Get property of parent par inside child component's dialog vdhim23 - Adobe Experience Manager
HiI have a component which i drop, creates a parsys. Inside that parsys i drop another component sat compo2. I want to achive when i load the dialog for compo2, it will fetch the value of component & on the basis of this some functionality to be perform in dialog. Below is the listener in compo2 dialog.loadContent : function(dialog) { var path = // path of component if(path == 'landing') { console.log("Inside IF"); dialog.findByType('tabpanel')[0].hideTabStripItem(1); } }Under content hierarchy ...
1212
Views
0
Likes
3
Answers and Comments
Hide/Show CheckBoxGroup in Dialog vdhim23 - Adobe Experience Manager
Hi I am trying to Hide/Show checkbox group when dialog's loadContent called, but not able to do so. Below is my code :function(dialog) { var compPath = dialog.path; console.log("compPath ::: "+compPath); var sliderPath = compPath.replace("/par/slider/par/slide", "/par/slider"); console.log("Slider Path "+sliderPath); var data = CQ.Util.eval(CQ.HTTP.get(sliderPath+".json")); console.log("data ::: "+data); var value = data['selectiontype']; console.log("selectiontype ==== "+value); //test if(value...
239
Views
0
Likes
1
Answers and Comments
Re: Adding image icons followed by hyperlink in rtf vdhim23 - Adobe Experience Manager
Hi,Does anyone have any idea to implement this functionality in such a way place appropriate thumbnail correspond to hyperlink.Thanks
75
Views
0
Likes
0
Answers
Re: RTE customize hyperlink vdhim23 - Adobe Experience Manager
Hi RunalThanks, but i am not able to get this behavior. I just copied paste the file LinkDialog.js under my /apps/myprj folder. But i am not getting the alert on clinking of OK. It seems that file not getting call. Attached is my LinkDialog.js under /apps/myprj can you please check.
301
Views
0
Likes
0
Answers
RTE customize hyperlink vdhim23 - Adobe Experience Manager
HiI want to implement the functionality where i need to place the validations on the hyperlink dialog in rte in such a way if the link selected in path field belongs to specific path and author didn't tick on open in new window. It should display the error message not to proceed. How can i implement such thing. Thanks
1286
Views
0
Likes
5
Answers and Comments
Re: Populate Tags in Drop Down vdhim23 - Adobe Experience Manager
Thanks that worked
102
Views
0
Likes
0
Answers
Re: Populate Tags in Drop Down vdhim23 - Adobe Experience Manager
Thanks, I shifted to another approach which i seems simple. Now i have node in which has a property which contains the json format that required to drop down.[{"text":"Type1","value":"Type1"},{"text":"Type2","value":"Type2"},{"text":"333","value":"333"}]I have fie options.json.jsp within the compoent along with component.jsp<%@include file="/libs/foundation/global.jsp"%><% response.setContentType("text/plain"); %><% try { Node parent = resource.getResourceResolver().getResource("/etc/IgWebCMS/ar...
88
Views
0
Likes
0
Answers
Populate Tags in Drop Down vdhim23 - Adobe Experience Manager
Hi, Is there any way to populate the tags from /etc/tags/mysite/catrgory/category1/.. in my drop down menu inside dialog. With help of json i can populate my mapping json file in option, but looking for any other alternative as if the tags will add and remove json has to be changed from crxde. And this thing should be configure by business user or super user via ui.Thanks
213
Views
0
Likes
5
Answers and Comments
Diff for images in RTE plugin vdhim23 - Adobe Experience Manager
HiI observed one issue while using rte. When i drop the image in editor and create the version. Then after if i compare it with older one then its doesn't appears with border green, but if we use image component it display as green after diff comparison with older version. How can we implement the same functionality in rte. I can verify the difference of text but not for images. Please SuggestThanks
72
Views
0
Likes
1
Answers and Comments
Re: Properties not editable in client context. vdhim23 - Adobe Experience Manager
Sham HC wrote... vdhim23 wrote... Attached is the screenshot. I could not identify what is missing from snapshot. Have you followed the steps of http://docs.adobe.com/docs/en/cq/current/developing/client_context_detail.html Hi Sham, Generally the properties with black background are editable, we can click and edit them and these will set in the store. But here in my client context component (2nd), I am not able to edit the properties on clicking.
100
Views
0
Likes
0
Answers
Re: Properties not editable in client context. vdhim23 - Adobe Experience Manager
Hi ShamThanks for reply. Attached is the screenshot.
103
Views
0
Likes
0
Answers
Properties not editable in client context. vdhim23 - Adobe Experience Manager
Hi I have created custom client context component, which renders the data from ERP system onto client context. Issue is when i view client context on page, onwards 3rd level properties are not editable. Does anyone has any idea? I have attached my files.Thanks
180
Views
0
Likes
4
Answers and Comments
Segment not resolved vdhim23 - Adobe Experience Manager
I created a segment which shows me the message `Data loaded in the Client Context do not resolve the current segment.` Below is Code : if (!CQ_Analytics.CCSFDataMgr) { CQ_Analytics.CCSFDataMgr = new CQ_Analytics.SessionStore(); CQ_Analytics.CCSFDataMgr.STORENAME = "ccsfprofile"; CQ_Analytics.CCSFDataMgr.STOREKEY = "CCSF"; alert(CQ_Analytics.CCSFDataMgr.data); CQ_Analytics.CCSFDataMgr.data={"Name":"Amit"}; CQ_Analytics.CCSFDataMgr.loadData = function(){ //here would be ajax call to get gata CQ_An...
91
Views
0
Likes
1
Answers and Comments
Pass value from context component to context manager vdhim23 - Adobe Experience Manager
Hi I have client context component, which takes emailid. On basis of this email its fetch the data from external system which initialize the session store.Below is my code for init.js.jsp :<% String leadAddress = properties.get("email", currentStyle.get("email",String.class)); log.info("leadAddress ---> "+leadAddress);%> if (CQ_Analytics.CCSFDataMgr) {var email = <%= leadAddress %>; CQ_Analytics.CCSFDataMgr.addInitProperty('EMAILADDRESS', email); CQ_Analytics.CCSFDataMgr.init();console.log(email...
90
Views
0
Likes
1
Answers and Comments
Re: How "text" component works? vdhim23 - Adobe Experience Manager
Hi,It works something like your widget has xtype:componentstyles, AEM will look over the xtypes registered under "/libs/cq/ui/widgets/js.txt[ootb]" & finds the "/libs/cq/ui/widgets/source/widgets/form/ComponentStyles.js" and inject the implementation when dialog load. But this is no the whole concepts but seems ok for your widget.Thanks
324
Views
0
Likes
0
Answers
Re: How to create my own allowed component in sidekick vdhim23 - Adobe Experience Manager
AEMFOURMS wrote... Hi, Can any one help me how to create my own component group in sidekick. thanks You need to go through the basics of component, Please refer the below link : http://docs.adobe.com/docs/en/cq/current/developing/components.htmlcomponentGroup is the property of component whose value define the componentGroup inside sidekick, which you can made available on the page via design mode.
207
Views
0
Likes
0
Answers
Re: Additional JavaScript file vdhim23 - Adobe Experience Manager
maximilian.quehenberger wrote... Hello, in my apps folder I have a project "myproject" and in this folder there is a folderstructure "components/clientlibs" ./components/clientlibs/js.txt looks like this: #base=jsmqbehaviour.jsjquery-2.1.1.js and mqbehaviour.js contains the following code: function testFunction() {alert('Hello from testFunction');} In my page I have the following button: What will happen? If I press the button, nothing happens - and in Firebug I get the exception: testFunction d...
292
Views
0
Likes
0
Answers
Re: ACS ErrorPageHandlerService can't be resolved vdhim23 - Adobe Experience Manager
paro22 wrote... I'm trying to use the ACS ErrorPageHandlerService [1] and it has successfully worked in the past (AEM 6.0 SP1). I just build some (totally unrelated) simple code and now the error pages don't work anymore, see error below: 30.12.2014 12:50:10.005 *ERROR* [0:0:0:0:0:0:0:1 [1419972610002] GET /favicon.ico HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Calling the error handler resulted in an errorjava.lang.Error: Unresolved compilation problems: Only a t...
194
Views
0
Likes
0
Answers
Re: Extending Text & Image component is not working. vdhim23 - Adobe Experience Manager
Sriram Sundararajan wrote... Hi, Thanks for you reply. If you see my screenshot i have given for o1 [Name-->Left&value-->left] similarly i have entered the properties for o2 also. But one thing i am not understanding here, i am not seeing any field as 'text' here. Did you mean 'Name' as 'text' ? Please refer my screenshot attached earlier whether the settings are right, if not let me know what changes need to be done. I am also attaching the screenshot of the new component. The drop down box Ima...
195
Views
0
Likes
0
Answers
Re: Extending Text & Image component is not working. vdhim23 - Adobe Experience Manager
Your options o1, o2 should have the properties text,value. e.g. o1[text-->Left & value --> left] . Also i didn't get you open the dialog in design mode, Is that component configurable at design mode and are getting save under /etc/design. As in image i can see you dialog is not design_dialog.
193
Views
0
Likes
0
Answers
Re: data-sly-call not invoked in sightly vdhim23 - Adobe Experience Manager
Feike Visser wrote... Ok, now we are getting somewhere 🙂 What is the path of your component? This is component path : /apps/AEMProject/components/content/SightlyTest
214
Views
0
Likes
0
Answers
Re: data-sly-call not invoked in sightly vdhim23 - Adobe Experience Manager
Feike Visser wrote... This works perfectly with me... extra1.html: hello from template Can you first try this? Yes, This works, But the issue was in the invocation of ExtraHelper class. ${extraHelper.reversedText} which is still there, Its not initializing extraHelper with the text 'hello' that we are passing above, the output should come as olleh. But nothing shows as output. Even when i write System.out.println(":::::"); its doesn't write anything to stdout.log.Thanks
216
Views
0
Likes
0
Answers
Re: data-sly-call not invoked in sightly vdhim23 - Adobe Experience Manager
Feike Visser wrote... hi , Can you try this? You have data-sly-use.extra, and your template is also called extra. Hi I tried this, its not working. Also now i have changed the template file name to extra1.html but still no success,Thanks
217
Views
0
Likes
0
Answers
data-sly-call not invoked in sightly vdhim23 - Adobe Experience Manager
HiI have a component SightlyTest in which i have following file :SightlyTest.html : Hello Sightly ${properties.description} extra1.html : ${extraHelper.reversedText} ExtraHelper.java :package apps.AEMProject.components.content.SightlyTest; import com.adobe.cq.sightly.WCMUse; public class ExtraHelper extends WCMUse { private String reverseText; @Override public void activate() throws Exception { String text = get("text", String.class); reverseText = new StringBuffer(text).reverse().toString();...
1608
Views
0
Likes
7
Answers and Comments
Re: Dispatcher Issue : requested URL not found vdhim23 - Adobe Experience Manager
vdhim23 wrote... Sham HC wrote... Hi Vdhim, Firstly you are editing a wrong apache file.The way you are loading dispatcher looks strange, generaly it is relative path and not absolute path.I doubt your cache root configured to .../cqcache for virtual host config file. I would recommend to file daycare and get official help. Thanks, Sham tweet: adobe_sham Thanks Sham, I am making the configuration in apache2.conf file as httpd.conf is not available inside server in ubuntu. Also for loading the di...
315
Views
0
Likes
0
Answers
Re: Dispatcher Issue : requested URL not found vdhim23 - Adobe Experience Manager
Sham HC wrote... Hi Vdhim, Firstly you are editing a wrong apache file.The way you are loading dispatcher looks strange, generaly it is relative path and not absolute path.I doubt your cache root configured to .../cqcache for virtual host config file. I would recommend to file daycare and get official help. Thanks, Sham tweet: adobe_sham Thanks Sham,I am making the configuration in apache2.conf file as httpd.conf is not available inside server in ubuntu. Also for loading the dispatcher i am not ...
313
Views
0
Likes
0
Answers
Dispatcher Issue : requested URL not found vdhim23 - Adobe Experience Manager
HiI just completed the setup of Dispatcher in Ubuntu 14. After changes apache service started successfully and also i can see the welcome page when i hit http://localhost/ . dispatcher.log has been created as per the path provided. docroot for the cache also got created after server restarted. But I am not able to see the request to pass through dispatcher. like when i hit URL as http://localhost:8588/content/aemproject/Test1.html it show my page but when i hit dispatcher http://localhost/conten...
1921
Views
0
Likes
4
Answers and Comments
Re: copy image component from foudation/components/image as apps/myproject/component/MyImage , the image not show in publish instance vdhim23 - Adobe Experience Manager
Hi, If you are trying this via new template, then make sure along with page all other templates/components that are associated with page have to activate, like you image component, use activation tree to select your myproject and activate it.Thanks
55
Views
0
Likes
0
Answers
Likes from