Ravi_Pampana
Community profile Ravi_Pampana MVP
Lead AEM Architect
San Mateo, CA
26 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: ui.apps.structure got installed via jenkins and corru...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, We need to specify the paths available in your project in filter.xml instead of adding just /apps which will remove core components and other code which comes with acs-commons etc. Try to uninstall the package by going through crx/de which might get the folders back and update the filter.xml to add only specific paths available in your code.

Views

64

Like

1

Replies

1
Re: org.apache.commons.lang3,version=[3.10,4) -- Cannot b...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Are you adding corresponding Uber jar ? Uber jar version should match with the version of AEM or it should support the AEM version including service pack.

Views

71

Like

1

Replies

2
Re: AEM Tools Rollout option in Touch enabled UI
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
@Venky0559 Yes, it will work

Views

18

Like

1

Replies

0
Re: List of packages getting exposed without logging in o...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, I tried in AEM 6.5 plain instance, AEM 6.5.6 and AEM 6.5.8 and don't see the packages list showing up without login. Make sure that you are not logged into publish instance in any other tab

Views

61

Like

1

Replies

0
Re: Static Templates to Editable Templates
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, It will be better to stop using JSP's and create editable template with .html

Views

121

Like

1

Replies

1
Re: Best ways to move Large set of assets between environ...
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Check Desktop App for AEM https://experienceleague.adobe.com/docs/experience-manager-desktop-app/using/using.html?lang=en#how-app-works2

Views

124

Like

1

Replies

1
Re: AEM 6.5.6 : Case Insensitive AEM Query Builder
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, Take a look at https://blogs.perficient.com/2020/11/11/case-insensitive-queries-with-the-aem-query-builder/ We need to add custom predicate to achieve the requirement.

Views

102

Like

1

Replies

0
Re: /etc/languages restructuring in AEM
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, As per the 6.5 documentation it seems the languages are going to remain under /etc/languages https://experienceleague.adobe.com/docs/experience-manager-65/forms/manage-administer-aem-forms/supporting-new-language-localization.html?lang=en#add-locale-support-for-the-dictionary-br Also, adobe did not update the i18n translator to touch UI and that code is still referring to /etc/languages node and it is hardcoded. /libs/cq/i18n/translator/html.jsp and also in jsp not yet upgraded to sightly. H...

Views

96

Like

1

Replies

0
Re: Tag translation not available
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
- Adobe Experience Manager
Hi, When you add a translate string to tag it will store the translated value under jcr:title.{language} Ex: jcr:title.fr for french locale The language string can be updated by modifying languages property under /content/cq:tags When adding the tag to a page it will show only EN tag and based on the language of the page it will load the title if present corresponding to that language otherwise fallback to en. language specific value: Languages under /content/cq:tags When searching for tag it wi...

Views

93

Like

1

Replies

0
Re: Enabling ESI:Include on Akamai (SDI)
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

270

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

98

Likes

2

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

95

Like

1

Replies

0
Programmatically rollout using RolloutParams
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

128

Likes

2

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

104

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

108

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

106

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

97

Likes

2

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

105

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

138

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

347

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

387

Like

1

Replies

2
Re: HTML injection
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

164

Like

1

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

245

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

302

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

319

Likes

0

Replies

0
Re: Replication
Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

331

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

199

Likes

2

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

212

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

243

Like

1

Replies

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

Likes

197 likes

Total Posts

243 posts

Correct reply

75 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

315

Likes

0

Replies

0