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

Ritesh_M
Community profile Ritesh_M Level 7
Solution Architect
Bangalore
19 BADGES
Level 7

Level 7

Learn more
Joined the community 28-08-2013 10:13:32 PM
Offline
Top badges earned by Ritesh_M
Customize the badges you want to showcase on your profile
Re: Windows Active Directory lookup
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @SonyPanchakshari , Check if this old thread helps you looks like same issue- https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ldap-serach-error-notcontextexception/qaq-p/175058

Views

79

Like

1

Replies

0
Re: Where can we enable the Fragment References in Conten...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @tinyt6510512 , As per release notes, it has been introduced in AEM as cloud- https://docs.mktossl.com/docs/experience-manager-cloud-service/release-notes/release-notes/2021/release-notes-2021-1-0.html?lang=en

Views

50

Like

1

Replies

0
Re: What are the necessary permissions required for users...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @niharikaN1 , First we have to understand, what we are doing here. Collection is nothing but a folder in which you are going to put desired/selected assets. Now, if the requirement is just to know the least privileges so that we can create a new Collection under '/content/dam/collections' then the answer would be the user should have 'Create/Modify' permission on '/content/dam/collections' node, else the Create button itself would not come. But, interesting part is, after collection is create...

Views

64

Like

1

Replies

0
Re: Multifiled Content is not getting saved into dialog
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @rajnishkr93 , Are you getting any browser console/network tab error while dialog submission? Please check below threads- https://stackoverflow.com/questions/54593689/multifield-component-in-aem-values-are-not-savedhttps://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/fieldset-under-the-multifield-is-not-saving-the-values/qaq-p/235831

Views

122

Like

1

Replies

0
Re: Environment issues in my AEM development instance
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @samsundar23 , Try admin user if you are getting the "Forbidden" error. also check below thread for similar issue- https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/console-error-aem-6-4-8-we-see-a-403-forbidden-when-clicking-on/qaq-p/372796

Views

62

Like

1

Replies

0
Re: Error while sending email using ACS Commons EmailService
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @kgiribabu , These mails which you are sending, these are from author server or publish server or dispatcher? Reason being, if you have multiple instance behind dispatcher and may be the SMTP configuration is missing/wrong in one of them. Also, is it just happening on one instance? Can you replicate it on lower instance (say dev), where you can put more logs (may be logging masked credentials) so that you can validate its not related to wrong configuration/run-modes being picked.

Views

112

Like

1

Replies

0
Re: Client context to Contexthub
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @Deep_2020 , The below thread might help you-https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientcontext-to-contexthub-migration-guide/td-p/250506

Views

73

Like

1

Replies

0
Re: Sling model exporter
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @arvind , You can refer below video to undertstand the concept-https://www.youtube.com/watch?v=IETEWVK5vl8 You need to create a sling model for each component. Also, if your requirement is to captures Asset meta-data/Content fragment then there are APIs available which you can directly use from React component (usually GET calls) CF HTTP API and Server side API-https://www.youtube.com/watch?v=wtO_GwZggig Asset API-https://www.youtube.com/watch?v=Yn7ybOwfIYY Also, check this old thread-https:/...

Views

100

Like

1

Replies

0
Re: How to minimize this jquery code
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @sampath_kumar_g , You can use Adobe Granite HTML Library Manager to achieve this. https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=enalso, check this thread-https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-3-publish-html-library-manager-minify-not-working-for/qaq-p/351644

Views

58

Like

1

Replies

0
Re: Failed to execute goal org.codehaus.mojo:exec-maven-p...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @keshav_goud , Can you provide more logs? There should be more error logging above. If it is frontend which is breaking, then try deleting node_modules and package_lock.json and try building again.

Views

59

Like

1

Replies

0
Re: Can we achieve logging for AEM servlet methods?
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @AnmolBhardwaj1808 , Are you sure your changed code is in sync with AEM server. Try debugging it though putting debug point and then load the servlet (or introduce some error in your servlet so that it will break, this way you will be sure your changes are reflecting).Also, just make sure you are initializing the logger object with right class name, for example- private static final Logger log = LoggerFactory.getLogger(YourFileName.class);

Views

99

Likes

0

Replies

0
Re: Can we achieve logging for AEM servlet methods?
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @AnmolBhardwaj1808 , We can put logs inside servlets also (which are nothing but Java class only), and you can put them anywhere inside method. I am not sure why you mentioned that putting inside doGet and doPost method it will not work because it will. Are you facing any issue while putting inside those methods?

Views

123

Like

1

Replies

3
Re: How to configure Sharepoint connector in AEM 6.5?
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @hs06 , There are REST APIs available for SharePoint, which you can use from your OSGI services- https://docs.microsoft.com/en-us/connectors/sharepointonline/https://docs.microsoft.com/en-us/sharepoint/dev/spfx/connect-to-sharepoint Check this example also, used for AEM component-https://medium.com/adobetech/how-to-retrieve-files-from-sharepoint-library-with-aem-custom-component-b53a66d093f1

Views

60

Like

1

Replies

0
Re: Getting workflow version error
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @seemak19887037 , You need to use either "true" or "false" value for dry run option.Please refer thishttps://helpx.adobe.com/experience-manager/kb/workflow-monitor-via-jmx.html

Views

72

Likes

0

Replies

0
Re: OSGi multi field creation
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @manikanthar1295 , The below thread will help you- https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-a-osgi-configuration-holding-multi-dimensional/qaq-p/364495 In your OCD, it should be like this- @AttributeDefinition(name = "My prop", description = "Multi values")String[] getMyPropValues();

Views

94

Like

1

Replies

0
Re: Not able to run local dispatcher on Windows 10 Pro
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @imalakaamir , Though I believe you must have noticed but in case if missed - "Windows users cannot have any spaces or special characters in the path to the folder containing the Local Dispatcher Tools."Also, try running command prompt/power shell as administrator. Try using latest/different SDK.

Views

68

Likes

2

Replies

0
Re: Getting workflow version error
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @seemak19887037 , Might be because, an active work item for workflow model exist. Try purging-Check below thread-https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/workflow-version-error/qaq-p/188678 Also, check this if it helps-https://helpx.adobe.com/nz/experience-manager/kb/cannot-read-workflow-model-error.html

Views

85

Likes

3

Replies

0
Re: Thousends of pages under the same parent
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @T_one1 , I do not think there is any limitation of child pages and I do not think there will be any performance impact or something (leaving search aside, wink) having multiple child pages. Since, the architecture is based on REST principal and every page has its own identity (URL) so we should be good. Though, the page should not have more nodes else it might have performance issue (java script, node traversing, backend logic, etc).

Views

101

Likes

2

Replies

0
Re: Getting error log "AEM failed to activate Use class"
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @ShagunMalik , You must be getting some exception like NullPoineterException or something in the logs which is happening inside Active method of your class. Could you provide the error logs?

Views

132

Like

1

Replies

1
Re: Not able to access jcr:content properties of currentP...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
@ShagunMalik , So you are good with your original issue, right? and for the error logs, its better if you create a new issue/thread so that tracking will be easy.

Views

71

Likes

0

Replies

0
Re: Not able to access jcr:content properties of currentP...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @ShagunMalik , It is because "rootpage.getPath" is just path to a page (for example /content/mywebsite/en/mypage) and it is not ending with "jcr:content" node, whereas the properties you are looking for are stored on jcr:content node. So you have to add jcr:content before making resource ((for example /content/mywebsite/en/mypage/jcr:content) ). Resource res = getResourceResolver.getResource(rootpage.getPath + "/jcr:content/"); The best way is to enable debugger in your favorite IDE (eclipse ...

Views

96

Like

1

Replies

3
Re: Get current page property using POJO Class.
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
@ShagunMalik , I dint get, which policies? You can change the maven version via going to file system and open the file in any editor and change.

Views

79

Likes

0

Replies

0
Re: Dam assets not showing any property after upgrade to...
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @Ravindra17 , Need to understand more in order to figure out root cause- 1. You mentioned that assets are not showing any properties but you are also mentioning that only folders are visible in tree (which I believe you meant in CRXDE), please confirm.2. Are you seeing any errors/exceptions in logs, browser console/network tab errors while loading pages. Are those static pages or you are hitting any web API?3. Which workflow you tried to fix the assets issue? I believe since you had already r...

Views

60

Like

1

Replies

0
Re: Dom4j bundle || unable to resolve in OSGI
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
hi @SagarVerliani , You can simply use Eclipse plug-in project to convert the JAR into an OSGi bundle and deploy the bundle to AEM.please refer below videohttps://www.youtube.com/watch?v=EXyvsIknCLI Also, attaching the bundle which i created. Try using this.https://github.com/riteshmittal/dom4jbundle Also, check the threads-https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/included-dependency-jar-is-not-resolving-in-bundle/qaq-p/227487

Views

108

Likes

2

Replies

1
Re: Date format in aem
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @keerthana_hn , You can use below code- import java.text.SimpleDateFormat;import java.util.Date;import java.util.Locale;public class MyDateExample {public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss Z", Locale.getDefault()); sdf.format(new Date()); System.out.println("sdf"+sdf.format(new Date()));}} Result - 2021-06-29T11:39:25 +0530

Views

68

Like

1

Replies

0
Re: How to get the users country via CDN header?
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @TB3dock , we have something called x-aem-client-country which you can get from request header for this. https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delivery/cdn.html?lang=en

Views

90

Likes

2

Replies

1
Re: Get current page property using POJO Class.
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @ShagunMalik , You need to import all required classes in your Java class. Also, diamond <> operator requires JDK 1.8, if you already have 1.8 then it means in your eclipse you are using maven version as 1.7. Just check in pom.xml. Your class should have all imports like below-https://github.com/riteshmittal/multiple-subservices-system-users/blob/main/MyServiceFirstImpl.java

Views

135

Like

1

Replies

4
Re: Get current page property using POJO Class.
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @ShagunMalik , Using below code you can access any property and can set in Sling Model Getter, which you can access in HTL- Map param = new HashMap<>();param.put(ResourceResolverFactory.SUBSERVICE, "myservice");try (ResourceResolver resolver = resourceResolverFactory.getServiceResourceResolver(param)) { Resource res = resolver.getResource("PATH to RESOURCE"); ValueMap pageProperties = resource.getValueMap(); String propertyValue = properties.get("property name", String[].class); Now, your que...

Views

135

Like

1

Replies

1
Re: Get current page property using POJO Class.
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @ShagunMalik , you can check this recent thread, using Sling Model and Resource Resolver through subservice, you can easily achieve it. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/want-to-use-tags-to-create-meta-data/qaq-p/413518

Views

152

Like

1

Replies

2
Re: csrf Vulnerability remediation
Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct Reply

44 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
- Adobe Experience Manager
Hi @akank_23 , We have documentation available to prevent this- https://experienceleague.adobe.com/docs/experience-manager-65/forms/administrator-help/configure-user-management/preventing-csrf-attacks.html?lang=enhttps://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/csrf-protection.html?lang=en If those are not helping then can you please explain what issue you are facing exactly?

Views

63

Like

1

Replies

0