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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

rampai
Community profile rampai Level 5
Job title here
India
26 BADGES
Level 5

Level 5

Learn more
Joined the community 22-09-2016 12:18:33 PM
Online
Top badges earned by rampai
Customize the badges you want to showcase on your profile
JSON support for AEM as Cloud service environment variables
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi All, Is there anything down the line to make environment variables more flexible to allow like a JSON of Strings? That way we don't have to maintain separate variables for doing similar operations for different sites. e.g. I can have ten loggers writing to error.log but would want to set only one of them to Debug at a given point in time. Currently, I would need an environment variable for each Logger or a generic Log Level variable that will set all logs to same level. Changing generic varia...

Views

41

Likes

0

Replies

1
Re: Update anonymous user permissions on AEM as a Cloud Service
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @anubhav1988, The problem would be because the repo init statements mention mutable content in the documentation. /apps and /libs are immutable at runtime and ACLs are stored under the respective nodes that need the permission in. AEM. Did you try packaging rep:policy nodes in ui.apps package? https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem-project-content-package-structure.html The ui.apps package contains all the code to be deployed and o...

Views

64

Like

1

Replies

0
Re: How to render different rendition images based on screen resolution in Sightly HTL?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @shyamasundar-ks, You can also check the adaptive image feature of Image core component. The Core Component Image Component is an adaptive image component that features in-place editing. https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/image.html?lang=en Thanks, Ram

Views

88

Likes

2

Replies

0
Re: Entire repo in crx-quickstart/segmentstore (tar files) vs items over 4k in crx-quickstart/datastore
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @thisthatheotter, As per the Adobe documenation on this: "When dealing with large number of binaries, it is recommended that an external data store be used instead of the default node stores in order to maximize performance.For example, if your project requires a large number of media assets, storing them under the File or S3 Data Store will make accessing them faster than storing them directly inside a MongoDB.The File Data Store provides better performance than MongoDB, and Mongo backup and...

Views

61

Like

1

Replies

1
Re: AEM Full Text Search for a keyword with spaces
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @sumeet_a_kulkar, Check this out. Please note that the search string is in double quotes inside the single quotes. I haven't tried this myself but hope it helps. SELECT * FROM [nt:base] AS s WHERE CONTAINS(s.*, '"Insurance Broker"') References:https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sql-2-query-for-full-text-search/td-p/252 https://stackoverflow.com/questions/48077571/why-does-contains-find-inequal-text-strings-in-jcr-sql2 Thanks, Ram

Views

118

Like

1

Replies

0
Re: "Connection refused" error when running clean install, even after reinstalling AEM (6.5sp3)
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @eezo, Have you configured your settings.xml proxy if you are behind a VPN? Thanks, Ram

Views

76

Like

1

Replies

0
Re: embed property in client libs
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @rgravisankar, In addition to what @BrianKasingli pointed out, you can see this article that explains the concepts better. There is just one correction to the above answer though. A dependency added in embed will not be ignored. Only embed is ignored if added to another embed. https://khakiout.wordpress.com/2016/02/23/aem-clientlibs-difference-between-dependencies-and-embed/amp Basically if you want to embed multiple categories then you would need to embed all in the same clientlib that you w...

Views

105

Likes

2

Replies

0
Re: CIF Configuration in Cloud Service
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @Gunjan_13, You would have to install the CIF add-on package since CIF is not provided OOTB in cloud sdk. https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content-and-commerce/storefront/developing/develop.html?lang=en https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content-and-commerce/storefront/getting-started.html?lang=en The add-on package can be downloaded from Adobe Software distribution portal. Thanks, Ram

Views

75

Like

1

Replies

1
Re: How to get browser details in AEM Servlet?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @Anderson_Hamer, Can't you check this using javascript instead? Or you can try to apply the below checks using String API in Java. Could you please check if this helps?https://www.google.com/amp/s/www.geeksforgeeks.org/how-to-detect-the-user-browser-safari-chrome-ie-firefox-and-opera-using-javascript/amp/ Thanks, Ram

Views

235

Like

1

Replies

0
Re: How to combine two queries in AEM?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Yes @Anderson_Hamer. You can use the oakutils to generate the custom oakindex.

Views

203

Likes

2

Replies

0
Re: How to combine two queries in AEM?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @Anderson_Hamer , You may need to use JCR_SQL2 for this use case. To get the node:SELECT child.* FROM [nt:unstructured] as child INNER JOIN [cq:PageContent] as parent ON ISDESCENDANTNODE(child, parent) WHERE ISDESCENDANTNODE(parent, '/content/myproject/sites/en-us') AND child.[cq:headerVal] = 'col3' AND parent.[cq:template] ='/apps/myproject/templates/full-content-page' or to get the pageContent: SELECT parent.* FROM [nt:unstructured] as child INNER JOIN [cq:PageContent] as parent ON ISDESCEN...

Views

229

Likes

4

Replies

2
Re: Cloud manager deployment failed with timeout error
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @chagani, You can check this once if you haven't already especially the "Cloud Manager times out" section. Debugging-aem-as-a-cloud-service/build-and-deployment If none of the solutions provided here are applicable then you can log a support ticket with Adobe to get one. Thanks,Ram

Views

85

Likes

2

Replies

0
Detect instance runmode programmatically in AEM as cloud service
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi All, Is there any alternative to detect run-mode of instance in AEM as cloud service as slingSettingsService shows as deprecated? The use case is to execute code only on author or publish instances but not both. Thanks,Ram

Views

168

Likes

0

Replies

3
Tree replication in AEM as cloud service
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi All, Is there a possibility of seeing the additional flags that used to be a part of tree activation in AEM as cloud? Like activate only modified/activated pages or ignore deactivated pages with Add Tree option while triggering Sling Distribution? Thanks,Ram

Views

336

Likes

0

Replies

2
Re: I18n default value
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @ArchanaVijayakumar007 , As per the HTL docs here, Internalization translates the string to the language of the current source (default is same language as content and can be overridden if needed), using the current dictionary. If no translation is found, the original string is used. Thanks,Ram

Views

186

Likes

2

Replies

0
Re: Dispatcher connection timeout is 60 seconds | Need to...
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @pradeepd1320668 , Corrected my reply. As Ritesh mentioned earlier, Timeout is the property that you should be looking for. DispatcherKeepAliveTimeout is for requests to be kept open before sending in new ones. Thanks,Ram

Views

238

Likes

2

Replies

0
AEM Sling Content Distribution Event Listener
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi All, As AEM as a Cloud Service is based on Sling Content Distribution mechanism, are there any references on how to create a custom event handler that can capture the content distribution event and whether it was an ADD or a DELETE that was triggered? I am going through the sling documentation but if there is anyone who has already done this, would appreciate your support. Thanks,Ram

Views

251

Likes

0

Replies

2
Re: Need to block the below access in dispatcher file
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi @vivianseba , Some of these rules can still be bypassed by putting multiple slashes in the URL. As per Adobe documentation: In Dispatcher versions later than 4.2.0, you can include POSIX Extended Regular Expressions in your filter patterns. You might want to try something similar to the below rule (This takes care of the URL part. You can add extension if needed):{ /type "deny" /url '([/]+bin[/]+querybuilder(.*))' } As rightly mentioned earlier, a higher number in dispatcher doesn't mean high...

Views

453

Like

1

Replies

0
Segment Not found on opening maintenance console jobs
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
We recently encountered this issue while trying to fix repository inconsistency. Since we were getting 503 error (Authentication support missing) after reverting to last healthy revision, we restored the AEM instance to the backup created before the operation. After this backup was restored, we can no longer access the maintenance jobs configuration from the touch UI console. This is the error that we are getting. Can someone please suggest how to fix this? Segment 7d732fb7-a908-49aa-a3c9-78ddbf...

Views

1.5K

Likes

0

Replies

2
Re: Why doesn't an OSGi Bundle start even when all the Dependencies are resolved?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Probably an OSGi component that you have in your bundle is in unsatisfied state.

Views

1.5K

Like

1

Replies

0
Re: Get a data-sly-list element as a jsonarray
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Thanks. This is precisely what I did in the end.

Views

2.0K

Likes

2

Replies

0
Get a data-sly-list element as a jsonarray
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
How can we pass a list from HTL to a sling model?I need a nested list to be converted into JsonArray format. ${item.title} ${item.description}Now I want the same thing as a json string from ${values}:[{"title":"test1", "description":"desc1"},{"title":"test2", "description":"desc2"}]Any inputs would be helpful.

Views

3.0K

Like

1

Replies

5
Duplicate tags after move operation in AEM 6.3 publish
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi All,We are facing this issue in AEM 6.3 GA.Steps to reproduce:Create a new tag under We-Retail (/etc/tags/we-retail).Move the tag to under Activity and Publish.Notice Test is duplicated in Publish.When moving a default tag into a container tag, I can see cq:movedTo and cq:backlinks being set on the nodes.But when I move a tag from within a container tag to outside, none of these properties are being set. The behaviour is not consistent. Can someone please help?

Views

1.5K

Likes

0

Replies

2
Re: Error when creating an AEM project in Eclipse
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
For the 500 error fix refer this.https://stackoverflow.com/questions/38388879/setup-aem-in-eclipse-and-create-a-project I had to uncheck it and restart my server in debug mode.But even with the flag checked I could start the server in debug mode in around 4 tries. Gives me 500 a couple of times and then works all of a sudden. The same URL is very much accessible from the browser.Thanks,Ram

Views

1.5K

Likes

0

Replies

0
Re: Page.listChildren() or data-sly-list=currentPage.listChildren to return sorted list
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi mohani57395378​,Please check this as well.Best Way to Sort a List of Resources ? Regards,Ram

Views

2.1K

Likes

0

Replies

0
Re: Populating aem pathfield with custom datasource
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi bradc10998411​,Do you mean parsing a json to display as tree without actually creating the nodes in JCR?This was possible in Classic UI using CQ.Ext.tree.TreePanel but in Touch UI am yet to find anything similar.

Views

4.4K

Like

1

Replies

1
Re: Adding a node (component) via Eclipse
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi karloe75358780​,That can be because the AEM plugin is syncing the incorrect root folder.To confirm, right click on the ui.apps directory and click on Properties.Next in AEM, reset the path to your jcr_root directory as shown below:If it is the correct path, then navigate to the one where it shows the complete path and not where it only says src.Regards,Ram

Views

1.4K

Likes

2

Replies

0
Re: sling model choice
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi kusumam24182037​,The above links should clear your understanding.Adapting to a SlingHttpServletRequest gives you more options to manipulate resources in general.Moreover you can even access request params if you do so.Adapting to a resource can be done when you just need resource properties and there is not much to do with the request.Please check if my answer here helps.Regards,Ram

Views

1.4K

Like

1

Replies

0
Re: How to read a file or stream in Most Robust way using Java?
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi karthickv99865601​,Can you please check if this is of any help since this query is not AEM specific?The suggestion is to leverage StringBuffer to split the stream and read it in chunks rather than one whole stream.https://stackoverflow.com/questions/17084657/most-robust-way-of-reading-a-file-or-stream-using-java-to-prevent-dos-attac… Regards,Ram

Views

3.0K

Likes

0

Replies

0
Re: How to using Sling Models in Component Java Class
Avatar
Ignite 1
Level 5
rampai
Level 5

Likes

56 likes

Total Posts

67 posts

Correct reply

14 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rampai
- Adobe Experience Manager
Hi pdg2491​,pdg2491I don't think you can include Sling models in components because Sling models are annotation driven POJOs deployed via OSGi bundle.As stated in the Sling documentation:The Java Use Provider can be used to load OSGi services, objects exported by bundles or backed by a Resource.Sling Models Use Provider works in a different manner.Refer this for more info.

Views

1.5K

Likes

4

Replies

0