since ‎19-10-2016
‎28-10-2020
Ravi_Pampana
MVP
Re: JSON on page load Ravi_Pampana - Adobe Experience Manager
Hi, We can use Java-Use api or Javascript-use api to read json from the node and display in component html. You can refer http://aemcorner.blogspot.com/2015/09/render-json-data-using-sightly-custom.html for example.
45
Views
1
Like
1
Answers
Re: AEM Sightly - Check if edit mode Ravi_Pampana - Adobe Experience Manager
Hi, Try "wcmmode.preview" but when we change from edit mode to preview there wont be page refresh and this will not work as intended. You need to do a page refresh on selecting preview mode. Hope this helps!
102
Views
1
Like
0
Answers
Adding image urls with presets having $ in CSS file Ravi_Pampana - Adobe Experience Manager
When we add absolute image url with preset having $, the css file will not load and throw exception from OOB code (com/adobe/granite/ui/clientlibs/script/Utils.java). But by escaping $ we can overcome above issue and load the css file with preset correctly. .load { background:url("https://scene7.image.com/is/image/adobe/someimageutl?\$native\$");}
176
Views
0
Likes
1
Comments
Re: Not able to fix these dependency issues Ravi_Pampana - Adobe Experience Manager
Hi, Can you check uber jar is upto date of the AEM version ? Sometimes we see these issues because of uber jar is having older version
91
Views
2
Likes
0
Answers
Re: provide 301 redirect in aem 6.5 Ravi_Pampana - Adobe Experience Manager
Hi, We can handle easily at dispatcher level by passing R=301 to the redirect rules. Ex:RewriteRule (.*)$ https://%{SERVER_NAME}$1/ [R=301,QSA,L]RewriteRule ^/test.html /test.html#anchor [NE,R=301,L]
121
Views
1
Like
0
Answers
Re: Read xml file and convert it to aem page Ravi_Pampana - Adobe Experience Manager
You can read the values stored in the jcr and using pageManager API, we can create page and add values in as required. First it will be helpful if you come up with the mapping of fields and where/how it should stored under the page. Some of them will go to jcr:content and some go to a component. Once the mapping is done and you have required template and components created, programmatically we can add components under jcr:content and the values from xml file. Refer : https://experienceleaguecomm...
261
Views
0
Likes
0
Comments
Re: Read xml file and convert it to aem page Ravi_Pampana - Adobe Experience Manager
Hi, Please check below link https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-read-xml-file-from-dam-and-place-it-in-jcr/td-p/250446
361
Views
1
Like
8
Answers
Re: Retrieve Image Extension Ravi_Pampana - Adobe Experience Manager
Hi, Check below code to get the image extension from image resource Image image = new Image(resource); // resource - image resourceimage.getExtension(); For more details, please referhttps://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/com/day/cq/commons/ImageResource.html#getExtension()Hope this helps!
74
Views
1
Like
0
Answers
Issue with Experience Fragment url when opening from Success dialog Ravi_Pampana - Adobe Experience Manager
Hi, After creating experience fragment, clicking on Open from the success dialog, url is getting encoded and throwing page not found issue when accessing from dispatcher. Url is encoding from / to %2F when trying in local instance. Fix:Go to below node and override to /apps:http://:/libs/cq/experience-fragments/content/v2/experience-fragments/createxfwizard/jcr:content/body/items/form/successresponse Property: OpenBefore value: /editor.html{Path}.htmlNew value to fix issue:  /editor.html{+Path}....
129
Views
2
Likes
3
Replies
Hi, Check this post https://experienceleaguecommunities.a... Ravi_Pampana - Adobe Experience Manager
Hi,Check this posthttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-touch-ui-the-height-of-the-contentframe-keeps-growing-in/qaq-p/296798
107
Views
1
Like
0
Replies
Re: How to Disable SSO in Publisher for certain dam path Ravi_Pampana - Adobe Experience Manager
Hi, We can by pass SSO for certain paths by adding in below configuration Go to /system/console/configMgrOpen “Apache Sling Authentication Service”Under Authentication Requirements add your required paths. Ex: "-/bin/somepath"Save the configurationYou can add this configuration in config.publish so that it will only apply for publish environments Hope this helps.
89
Views
2
Likes
0
Answers
Re: receiving a random script in case of 404 error Ravi_Pampana - Adobe Experience Manager
Hi, Are you seeing the script in view source ? If so it is being added via code. If you don't see it in view source, search in the javascript files being included, the file might be getting added from a js file. you need to check all the 3rd party javascript files, one of them may be adding that if the page is 404. In chrome we can search within static files by going to "Sources" tab Hope this helps!
97
Views
1
Like
0
Answers
Re: Call a Custom workflow on hit of activate button Ravi_Pampana - Adobe Experience Manager
Hi I think you can add page activation listener and call the required logic to trigger in the listener. https://helpx.adobe.com/uk/experience-manager/kb/ReplicationListener.html
101
Views
2
Likes
0
Answers
Re: Missing CSS . Ravi_Pampana - Adobe Experience Manager
Hi, Can you provide where css.txt is added and the path how it is added to css.txt ? Usually if we add like below it should work /apps/yourproject/components/yourcomponent/clientlibs/css/custom.less/apps/yourproject/components/yourcomponent/clientlibs/css.txt - Content inside css.txt #base=css custom.less clientlibs - should have jcr:primaryType "cq:ClientLibraryFolder" and should have categories added. Also if less file is not formed properly (missing syntax) then the css wont generate and adde...
132
Views
2
Likes
1
Answers
Re: Enable disable inbox notification Ravi_Pampana - Adobe Experience Manager
Hi, You can try removing "Notify on Abort" and "Notify on Complete" checkbox in below configuration available in http://:/system/console/configMgr "Day CQ Workflow Email Notification Service"  Hope this helps!
246
Views
1
Like
0
Answers
Re: Is there a way to change the URL name without moving... Ravi_Pampana - Adobe Experience Manager
Hi,Using vanity url we can request page using different url. Vanity ur l is present under Page properties --> Basic Tab. We can also write custom script or use groovy script to add vanity url property to jcr:content automatically to multiple pages by reading the existing path and converting to small letters. https://helpx.adobe.com/experience-manager/kb/ams-dispatcher-manual/disp-vanity-url.html
103
Views
2
Likes
0
Answers
Re: Create a report of broken links Ravi_Pampana - Adobe Experience Manager
Hi, Using Jsoup we can parse the html and get the links. Once the links are retrieved you can check whether the link is valid or not. https://jsoup.org/cookbook/extracting-data/attributes-text-htmlhttps://www.geeksforgeeks.org/check-if-url-is-valid-or-not-in-java/ Hope this helps!
223
Views
1
Like
1
Replies
Invoking workflow programmatically and creating translation project Ravi_Pampana - Adobe Experience Manager
Hi, Triggering workflow from Java and automate the process to create translation project using workflow. https://ravipampana.blogspot.com/2020/07/aem-trigger-workflow-from-java-create.html
113
Views
2
Likes
1
Replies
Re: Force re-index of dam assets Ravi_Pampana - Adobe Experience Manager
Hi, Try checking below link, using below link we can reindex the node propertyhttp://localhost:4502/apps/acs-commons/content/oak-index-manager.html
113
Views
0
Likes
1
Answers
Re: Restrict loading of clientlibs-jquery Ravi_Pampana - Adobe Experience Manager
Hi Vignesh, There might be a scenario where these files might be included from OOB file inclusions or category inclusion. Are you seeing these files on view source ? If so see after what code it is getting included so that we can find from which these are included.
136
Views
0
Likes
0
Comments
Re: Restrict loading of clientlibs-jquery Ravi_Pampana - Adobe Experience Manager
Hi, Just to add to the above answer check whether you have included in your project jsp or added cq.jquery category as embed or dependency to any of your project clientlibs
144
Views
2
Likes
2
Answers
Re: No results in Adobe Search and Promote XML response Ravi_Pampana - Adobe Experience Manager
Hi, Did you created a presentation template under design ==> templates (guided_xml.tmpl) to display the results in xml ? Below is the screenshot for your response.
208
Views
1
Like
2
Answers
AEM integration with Akamai Fast Purge API for Single/multiple urls Ravi_Pampana - Adobe Experience Manager
Hi,Created below post to clear Akamai Cache on page activation or using a servlet call for single and multiple urls. https://ravipampana.blogspot.com/2020/06/aem-integration-with-akamai-fast-purge.html Hope this helps!
303
Views
1
Like
1
Replies
Re: Change type of bullets in RTE Ravi_Pampana - Adobe Experience Manager
Hi, You can add custom styles to override the OOB rte styles and add "cq.authoring.editor" category to the css file.  This will be universal change which will apply in all components. If you want to apply for a single component try using "extraClientlibs" property and add the clientlibs to cq:dialog .cq-RichText-editable ul li:before { color: #0072ce;}Will display like below The above change will apply inside the dialog and if you need the same change to reflect on the page, the same styles can ...
263
Views
1
Like
0
Answers
Re: How to display html tags in jcr fields? Ravi_Pampana - Adobe Experience Manager
Hi, Using context in htl we can display the text in different ways https://docs.adobe.com/content/help/en/experience-manager-htl/using/htl/expression-language.html Context Settings ContextWhen to useWhat it doestextDefault for content inside elementsEncodes all HTML special characters.htmlTo safely output markupFilters HTML to meet the AntiSamy policy rules, removing what doesn't match the rules.attributeDefault for attribute valuesEncodes all HTML special characters.uriTo display links and path...
275
Views
2
Likes
0
Answers
Re: Dynamic Media Component (Video) not working in author... Ravi_Pampana - Adobe Experience Manager
Hi, We need to configure Dynamic Media configuration in author by going to "Cloud Services --> Dynamic Media Configuration" http://localhost:4502/libs/dam/content/configurations/dmscene7.html/conf Select global and click on Create button on top right corner Enter the configuration details by entering Scene7 Email and password Make sure the account has the proper permission to upload/activate the images in scene7 Select the region based on the account where the Scene7 server is present Hope this ...
518
Views
1
Like
0
Answers
Re: AEM servlet not render in publisher instance Ravi_Pampana - Adobe Experience Manager
Hi Sajith, Instead of calling author from publisher, you can create service user (https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/security-service-users.html) to access the form servlet in publisher. You need to provide required access to service user to access the form/submit in publisher. But providing access to publisher more than read access should be taken care with utmost care and consider it should not affect the publisher because of the changes.
813
Views
0
Likes
0
Comments
Re: AEM servlet not render in publisher instance Ravi_Pampana - Adobe Experience Manager
Hi, As above said please check whether all the required code is installed and bundles are active in publisher. Also, the logs which you are shared are not having details they are just replication info logs. Check the view source if there are any exceptions and also check the if there are any permissions need to be granted in publisher as author you will login with admin and will have full access but accessing via publisher we will access with anonymous user. Hope this helps !
1281
Views
2
Likes
3
Answers
Re: Do we have any utility or easy way to convert Touch U... Ravi_Pampana - Adobe Experience Manager
Hi, Currently adobe is not doing any enhancements to classic UI and it is depreciated from AEM 6.3 version but there is full support provided by adobe now in latest versions. But it is recommend to upgrade to touch UI and use only touch UI as we are not sure that in coming releases classic UI might be completely removed. If authors/business users are not comfortable to use touch UI it is recommended to give them proper training how to use. Creating classic UI dialogs for touch UI will be like du...
649
Views
1
Like
0
Answers