Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Ravi_Pampana
Community profile Ravi_Pampana MVP
Lead AEM Developer
San Mateo, CA
25 BADGES
MVP

MVP

Learn more
Joined the community 19-10-2016 4:59:24 PM
Offline
Top badges earned by Ravi_Pampana
Customize the badges you want to showcase on your profile
Re: Enabling ESI:Include on Akamai (SDI)
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, You can check below document https://www.akamai.com/us/en/multimedia/documents/technical-publication/akamai-esi-developers-guide-technical-publication.pdf The changes can be done by Akamai team and akamai team members can provide more insights on the change needed at their end

Views

115

Like

1

Replies

1
Re: How to restrict decimals in numberfield
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Check the below url using granite:data regex we can add restrictions https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html Hope this helps!

Views

59

Likes

2

Replies

0
Re: What is the use of seed property in lucene oak index?
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Since version 4.0.0, EnsureOakIndex excludes property seed, and sub-tree [oak:QueryIndexDefinition]/facets/jcr:content]Refer: https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1609 Seed is a property used by oak that's used to generate random numbers used by the index. Hope this helps!

Views

50

Like

1

Replies

0
Programmatically rollout using RolloutParams
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Out of the box RolloutManager provides below 3 methods by using that we can rollout the page programmatically. 1) void rollout(RolloutParams params) throws WCMException;2) void rollout(ResourceResolver resolver, LiveRelationship relation, boolean reset) throws WCMException;3) void rollout(ResourceResolver resolver, LiveRelationship relation, boolean reset, boolean autoSave) throws WCMException; When using 2nd and 3rd method we are able to rollout the page but the references will not get updated ...

Views

65

Likes

2

Replies

1
Re: How to modify or update the response of the page usin...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, You want to make changes to page on publisher but those changes will not be present on author page and content team won't make the changes ? We can have logic in Java and based on the run mode you can update the content which will be displayed when accessing via dispatcher. Run mode for publisher will have a "publish" or you can add new run mode for publish instances and execute the logic.

Views

64

Like

1

Replies

0
Re: How to set runmodes for the sling servlet unit test -...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, We can use below code to set the run modes @Mockprivate SlingSettingsService settingsService; Register the servicecontext.registerService(SlingSettingsService.class, settingsService); Then set the runmodes required for the test cases as below Set runModes = new HashSet<>(); runModes.add("author"); when(settingsService.getRunModes()).thenReturn(runModes); Hope this helps!

Views

73

Like

1

Replies

1
Re: How to search for only pages which are published usin...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, When a page is activated we will have below properties and can be added in query to retrieve only published pages 2_property=@jcr:content/cq:lastReplicationAction2_property.value=Activate For unpublished pages the cq:lastReplicationAction property wont be present in jcr:content node and for deactivated pages it will have value as Deactivate. Hope this helps !

Views

70

Like

1

Replies

0
Re: How to define a servlet path using the new servlet an...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, You can use below syntax for registering the servlet with paths @Component(service = Servlet.class, property = { Constants.SERVICE_DESCRIPTION + "=Some Description", "sling.servlet.methods=" + HttpConstants.METHOD_GET, "sling.servlet.paths=" + "/bin/somepath", "sling.servlet.extensions=json" }) You can use the resourceType also to bind the servlet to a path @component(service = Servlet.class, property = { Constants.SERVICE_DESCRIPTION + "=Some Description","sling.servlet.methods=" + HttpCons...

Views

65

Likes

2

Replies

0
Re: Stop retrying Workflow using java
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, If you throw WorkflowException then WF engine will retry the workflow later based on the AEM workflow Engine configuration. If you remove throwing the exception then retry should not occur. throw new WorkflowException("Unable to complete processing the Workflow Process step", e);

Views

74

Like

1

Replies

0
Re: Need Help with creating a stub for workflow model in...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Try below code @Mockprivate WorkflowService mockWorkflowService; @Mockprivate WorkflowSession wfSession; @Mockprivate WorkflowModel workflowModel; @Mockprivate WorkflowData wfData; setup method: MockSlingHttpServletRequest mockRequest = aemContext.request();mockRequest.addRequestParameter("path", "{add the page path}");aemContext.registerService(WorkflowService.class, mockWorkflowService);Mockito.when(mockWorkflowService.getWorkflowSession(Mockito.any(Session.class))).thenReturn(wfSession);M...

Views

106

Like

1

Replies

1
Re: Bundles going in installed state after service pack i...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
What is the version of Java you are having and did you see any errors in the log files (error.log) ? What is the process you are following to upgrade ? Is it installing Service pack 8 on plan version of AEM 6.5 ?

Views

224

Like

1

Replies

0
Re: Bundles going in installed state after service pack i...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Can you check by expanding the bundles and see whether there are any unresolved bundles which has version conflicts ? Also, check whether the uber jar was updated to the correct AEM version.

Views

264

Like

1

Replies

2
Re: HTML injection
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Usually html injection can happen by either url or user input data. We need to check for the html tags and encode them to make sure they are consider as string instead of html tags. Take a look at below link for additional details https://www.softwaretestinghelp.com/html-injection-tutorial/

Views

135

Like

1

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Can you check, that the service is properly registered within OSGI? Go to https://:/system/console/components and look for your class. If it is active and still getting replicator as null, share your complete file for checking further.

Views

175

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
You can take a look at this article : https://www.flexibledesigns.rs/activate-a-page-programmatically/

Views

232

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Is your code have @reference added to the replicator @Referenceprivate Replicator replicator;

Views

249

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, See whether the user (session) is having replication access and check there are any exceptions in error.log like replicator is not null.

Views

261

Like

1

Replies

10
Re: Limiting uploads by size at folder level in AEM Assets
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Try to add a Custom Process Step in "Dam Upload Asset" (/libs/cq/workflow/content/console.html) workflow which checks the size of uploaded image and allowed size for the folder and continue if satisfies or stop the upload process Hope this helps!

Views

161

Likes

2

Replies

0
Re: Show hide buttons on toolbars in page listing view
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

168

Like

1

Replies

1
Re: which would be a better option
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

205

Like

1

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

253

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Complete reply is added in next comment

Views

256

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

270

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

289

Likes

2

Replies

7
Re: Rearranging tabs using sling:orderBefore
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

184

Like

1

Replies

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

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

184

Like

1

Replies

0
Re: [AEM 6.5] - jar file
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

178

Like

1

Replies

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

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

261

Like

1

Replies

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

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

201

Like

1

Replies

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

Likes

184 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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

408

Likes

0

Replies

0