since ‎19-10-2016
Online
Ravi_Pampana
MVP
Re: Show hide buttons on toolbars in page listing view
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, Refer below node which displays the option in nav only if the user has read access to /etc/workflow/models /libs/wcm/core/content/sites/jcr:content/actions/selection/create/items/createworkflow/granite:rendercondition /libs/cq/gui/components/renderconditions/canreadworkflowmodels/canreadworkflowmodels.jsp Hope this helps

Views

39

Like

1

Replies

1
Re: which would be a better option
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, If you are adding a field in dialog where authors enters, it is good to validate on dialog submit instead of page

Views

75

Like

1

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
You can add emptyOption {boolean} true which will add empty option to the dropdown and on selecting it will remove the previously selected value. Refer coral api documentation for different options shared in my first comment https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/granite-ui/api/jcr_root/libs/granite/ui/components/coral/foundation/form/select/index.html

Views

72

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Complete reply is added in next comment

Views

75

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
I dont see any issues, it might be a cache issue, can you change the value of dropdown and check the changes are reflecting.

Views

89

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, As per your xml shared you have two options in the dropdown and by default the first option will be showed when the dialog is opened and when dialog is closed the value will be stored with property name under jcr:content You can add below property to the productType node which will show the place holder text on dialog open and if no value is selected from dropdown, value will not be stored in jcr:content. "Select Value" text can be any value as per your requirement.  Dialog will be showed as...

Views

108

Likes

2

Replies

7
Re: Rearranging tabs using sling:orderBefore
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, You can add livecopy node also to the cq:dialog and move it to the end which will move it to the last        Hope this helps! 

Views

60

Like

1

Replies

1
Re: AEM 6.5 <B> to <strong> in RTE
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, You can try replacing the to in java while reading value from node property and displaying in htl. This will not replace to in the jcr node but for in html it will have instead of for already added rte's.

Views

59

Like

1

Replies

0
Re: [AEM 6.5] - jar file
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, You can download the jar from below link https://experience.adobe.com/#/downloads/content/software-distribution/en/aem.html?package=/content/software-distribution/en/details.html/content/dam/aem/public/adobe/packages/cq650/quickstart/cq-quickstart-6.5.0.jar If you cannot access the above link, check with your admin who manages/works with Adobe Hope this helps!

Views

62

Like

1

Replies

1
Re: Page Properties is not disabled or no Lock Icon (Canc...
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, Did you add granite:data ==> "cq-msm-lockable" property to your custom properties? If not adding that might solve your issue. Below is the sample for reference. Ex:/>

Views

113

Like

1

Replies

0
Re: AEM-6.5 Page properties not being reverted when i cli...
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, Is your page properties are starting with cq:, jcr: or sling:, if so then those properties will be ignored in rollout. Refer https://helpx.adobe.com/se/experience-manager/kb/MSMRolloutConfig.html for more details. Hope this helps!

Views

95

Like

1

Replies

1
Re: Adding image urls with presets having $ in CSS file
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
@hamidk92094312 , I raised day care ticket after finding the root cause of the issue (E-000224031) and I was told the issue will be fixed in AEM 6.6.

Views

119

Likes

0

Replies

0
Re: Is there any option through which only the metadata v...
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
Hi, Seems you want to move the meta properties from master to translation page without sending them to localization process. In that case we can achieve this with custom implementation. Create a service which will show the page properties of the selected page and provide checkbox for authors to select the property which needs to be moved from master to available live copy or translation page. It will be like move the property from one page to other. Using OOB create structure only will update th...

Views

105

Like

1

Replies

0
Re: How to find or count all pages in AEM project? | AEM Community Blog Seeding
Avatar

Ravi_Pampana

MVP

Ravi_Pampana
- Adobe Experience Manager
This is helpful. We can also find the count using query builder in json format https://www.blogger.com/blog/post/edit/1528470937317694714/167344651072834696

Views

96

Like

1

Replies

0
Re: JSON on page load
Avatar

Ravi_Pampana

MVP

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.

Views

127

Like

1

Replies

1
Re: AEM Sightly - Check if edit mode
Avatar

Ravi_Pampana

MVP

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!

Views

222

Like

1

Replies

0
Adding image urls with presets having $ in CSS file
Avatar

Ravi_Pampana

MVP

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\$");}

Views

364

Likes

0

Replies

4
Re: Not able to fix these dependency issues
Avatar

Ravi_Pampana

MVP

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

Views

178

Likes

2

Replies

0
Re: provide 301 redirect in aem 6.5
Avatar

Ravi_Pampana

MVP

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]

Views

305

Like

1

Replies

0
Re: Read xml file and convert it to aem page
Avatar

Ravi_Pampana

MVP

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...

Views

386

Likes

0

Replies

0
Re: Read xml file and convert it to aem page
Avatar

Ravi_Pampana

MVP

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

Views

486

Like

1

Replies

8
Re: Retrieve Image Extension
Avatar

Ravi_Pampana

MVP

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!

Views

129

Like

1

Replies

0
Issue with Experience Fragment url when opening from Success dialog
Avatar

Ravi_Pampana

MVP

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}....

Views

263

Likes

2

Replies

3
Hi, Check this post https://experienceleaguecommunities.a...
Avatar

Ravi_Pampana

MVP

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

Views

238

Like

1

Replies

0
Re: How to Disable SSO in Publisher for certain dam path
Avatar

Ravi_Pampana

MVP

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.

Views

144

Likes

2

Replies

0
Re: receiving a random script in case of 404 error
Avatar

Ravi_Pampana

MVP

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!

Views

159

Like

1

Replies

0
Re: Call a Custom workflow on hit of activate button
Avatar

Ravi_Pampana

MVP

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

Views

163

Likes

2

Replies

0
Re: Missing CSS .
Avatar

Ravi_Pampana

MVP

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...

Views

192

Likes

2

Replies

1
Re: Enable disable inbox notification
Avatar

Ravi_Pampana

MVP

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!

Views

316

Like

1

Replies

0
Re: Is there a way to change the URL name without moving...
Avatar

Ravi_Pampana

MVP

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

Views

172

Likes

2

Replies

0