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

Dinu_Arya
Community profile Dinu_Arya Level 7
Senior Consultant
India
37 BADGES
Level 7

Level 7

Learn more
Joined the community 07-03-2013 10:31:03 PM
Online
Top badges earned by Dinu_Arya
Customize the badges you want to showcase on your profile
How to make all the components in age non editable programmatically?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I have a requirement to disable component dialog so that only the specific group of users can edit. I have 2 components in page. But only one component is getting non-editable. Please find the below code. I have included the below code's WCMUsePojo class at template level but no use. I even kept this in other component but not working. How can I make all the components in a page non-editable? Please suggest. ComponentContext componentContext = WCMUtils.getComponentContext(getRequest());...

Views

72

Likes

0

Replies

3
Re: Lock/Unlock page using system user
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
@Bhuwan_B I tried system user but I'm not able to lock and/or unlock the page. I'm working on AEM 6.5 and I don't see the properties related lock in order to delete. Please suggest. @kautuk_sahni

Views

38

Like

1

Replies

0
Lock/Unlock page using system user
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I have a requirement to lock a page when specific group user opens it and unlocks it when another group user opens it. But the page can be unlocked by the user who locked it or by admin user. Any idea on using system user for the same or any other solution? Thanks in advance!AryA

Views

86

Likes

0

Replies

3
Re: How to identify a page that subjected to a workflow?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
The below API helped me. https://www.adobe.io/experience-manager/reference-materials/6-5/javadoc/com/day/cq/wcm/workflow/api/WcmWorkflowService.html#isInWorkflow-java.lang.String- Thank You!

Views

53

Likes

2

Replies

0
How to identify a page that subjected to a workflow?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, How to identify a page that is subjected to a workflow? I don't see any extra properties getting added to a page once the workflow is started on the page. Kindly help in identifying this. Best Regards,AryA

Views

67

Likes

0

Replies

2
Re: Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
The issue is resolved by using byte array input stream.Thank you for your inputs - @Arun_Patidar @ArpitVarshney @Kiran_Vedantam

Views

165

Like

1

Replies

0
Re: Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi @Kiran_Vedantam , Yes. Actually I'm getting the resourceResolver from servlet's request. As suggested, I used system/service user flow of getting resource resolver but it also didn't help.

Views

166

Like

1

Replies

0
Re: Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
I'm getting 404. Looks like blob folder is not there.

Views

170

Like

1

Replies

1
Re: resource resolver mock in test not able to adapt query builder
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Ravi, Null pointer is when running the test case or in sling model itself?

Views

175

Like

1

Replies

0
Re: Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi @ArpitVarshney , I'm trying this in author with admin account. Regards,AryA

Views

190

Like

1

Replies

0
Re: Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi @ArpitVarshney , I tried this now but still no renditions and original rendition is empty. Regards,AryA

Views

201

Like

1

Replies

2
Re: resource resolver mock in test not able to adapt query builder
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Try @SlingObject or @OsgiService annotation for QueryBuilder instead of adapting it from resource resolver then try mocking QueryBuilder in test case

Views

196

Likes

2

Replies

2
Create HTML file upload image/zip file in DAM
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I'm trying to create a DAM asset(image or zip file) which is uploaded through HTML file upload field but the asset is not getting created properly. I'm able to create uploaded image in file system(just to check whether input stream is correct or not) with the same input stream but not DAM asset. Please help.HTML Multipart formAEM Servlet codeMap requestParameterMap = request.getRequestParameterMap();for(Entry paramPair : requestParameterMap.entrySet()) {String key = paramPair.getKey();i...

Views

216

Likes

0

Replies

10
Hide inherited page tab in 6.5
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
The inherited page properties tab is appearing in the current page properties. We have to hide it. Please suggest.

Views

124

Likes

0

Replies

2
Re: ExperienceFragmentsService is not working
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Dipti, It's working now. Thank you.

Views

134

Like

1

Replies

0
Re: ExperienceFragmentsService is not working
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Dipti,

Views

136

Like

1

Replies

0
ExperienceFragmentsService is not working
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I'm using ExperienceFragmentsService in servlet but while calling the servlet, I'm getting 404 resource not found. Whenever I remove/comment the below declaration then the servlet is working fine. I'm using AEM6.5 version.@referenceExperienceFragmentsService experienceFragmentsService ;Is there any other way to get this service to use it? Kindly help.Best Regards,AryA

Views

154

Likes

0

Replies

3
How to compare exact date without time stamp using query builder
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I have to get the nodes using the date value YYYY-MM-DD but the node also contains timestamp.Kindly let me know how can I do that?I tried below but got the exception-map.put("daterange.property", "joiningDate");map.put("daterange.lowerBound", "2021-02-16" + "-01-01");map.put("daterange.lowerOperation", ">=");map.put("daterange.upperBound", "2021-02-16" + "-12-31");map.put("daterange.upperOperation", "<="); Exception:javax.jcr.query.InvalidQueryException: java.text.ParseException: Query:...

Views

177

Like

1

Replies

1
How to get login-token generated using TokenUtil
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team, I need to get login-token which is generated using TokenUtil upon creation. I'm using the below method to create it. I need it in the very next step of the below method call-public static AuthenticationInfo createCredentials(HttpServletRequest request, HttpServletResponse response, SlingRepository repository, String userId, boolean httpOnly) Please help me in this. Is there any way to get it without admin login? Thanks,AryA

Views

1.0K

Likes

0

Replies

2
i18n are not getting updated through translator
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team,I'm trying to update an i18n message through translator (http://localhost:4502/libs/cq/i18n/translator.html ) but the updated message is not getting reflected in CRXDE (/etc/designs/mi/i18n/modules/en). It has above 300 i18n keys under it.It is getting updated under other folders. Is there any limit for i18n keys? Why are they not getting updated? Please help me in this,Thanks,AryA

Views

677

Likes

0

Replies

0
Why POST call doesn't work within AEM?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
@For security reasons I would like to use POST call in passing the data from one AEM page to another AEM page. When I do a POST call, I'm getting the below error. What is the exact reason behind this and why it is not allowed to do POST call within AEM? Any other work around from front-end? Please let me know.Status 500Message org.apache.sling.api.resource.PersistenceException: Resource at '/content/myapp/en' is not modifiable.kautuk sahni​ edubey​ @Jörg Hoh

Views

2.1K

Likes

0

Replies

3
AEM linkchecker
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team,I'm trying to find out the broken links in my site using com.day.cq.rewriter.linkchecker.LinkInfoStorage.getLinks() but it is giving only returning the external links. I need the internal broken links also. Please let me know how can I find them using any of AEM API. Please let me know how LinkInfoStorage's getLinks() work. Why is it not returning the broken internal links?Please help me in this.Thanks,AryA

Views

736

Likes

2

Replies

1
Re: Utility to convert AEM 6.4 multifield node into JSON format
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
You can achieve this using sling models very easily-@Model(adaptables=Resource.class)public class MyModel { @Inject private List addresses;}Here addresses the node name under which the multi-field nodes are getting saved+- addresses | +- address1 | +- address2Refer:Apache Sling :: Sling Models

Views

1.1K

Like

1

Replies

0
Re: Change runmode of existing AEM instance
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Go crx-quickstart/bin folder. Open start.bat file for windows and start(.sh) file for linux. change the run mode from author to publish then start AEM using command prompt.Double click on start.bat file(Windows) or run ./start (linux)

Views

2.0K

Like

1

Replies

1
Re: How get page properties of a specific page? using template? or path=?¿?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
You should use the C page's path. First you should convert the C page's path to a resource then adapt it to Page or Node to get the jcr:title property. You can use Sightly's JavaScript Use API by passing page C's path and the required property (jcr:title).or try below${resolver.getResource('/path/to/page/C/jcr:content')['jcr:title']}if the above one doesn't work,try 1st step.

Views

790

Like

1

Replies

0
Re: AEM 6.3 migration osgi bundle whitelist error-osgi-service is NOT whitelisted to use SlingRepository.loginAdministrative
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Is there any other way to fix this issue without white listing the bundle? In my code, I'm using the system user to get the resource resolver but still I'm getting the same issue. Any idea?

Views

11.4K

Like

1

Replies

0
AEM6.4 Workflow launcher is not loading
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team,We have migrated AEM 6.2 to AEM 6.4. In author, launcher is not getting displayed. In console, we are getting 500 error.Any idea?Thanks,AryA

Views

3.7K

Likes

0

Replies

4
Re: How to set convenience variables in sightly?
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Will it work in AEM 6.2 or only in 6.4?

Views

6.6K

Like

1

Replies

0
Re: Cookie is not getting created through dispatcher
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager Forms
You can create cookie either from front end using document.cookie or in the back-end using servlet

Views

2.2K

Like

1

Replies

0
Issue with cookies
Avatar
Springboard
Level 7
Dinu_Arya
Level 7

Likes

51 likes

Total Posts

198 posts

Correct reply

17 solutions
Top badges earned
Springboard
Establish
Ignite 70
Give Back 100
Ignite 60
View profile
Dinu_Arya
- Adobe Experience Manager
Hi Team,As part of authentication (custom authentication handler) we are creating some cookies from server side. The cookies are http and Secured in one environment and neither http nor secured in another environment.Do you have any idea why they are getting created like this?Please help me in this.Thanks,AryA

Views

647

Likes

0

Replies

1