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

thatsmeadarsh
Community profile thatsmeadarsh Level 3
Job title here
Location here
15 BADGES
Level 3

Level 3

Learn more
Joined the community 03-12-2020 12:19:39 AM
Online
Top badges earned by thatsmeadarsh
Customize the badges you want to showcase on your profile
Re: Dynamic Media: Reprocess assets
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager Assets
Please check if this helps.https://experienceleague.adobe.com/docs/experience-manager-64/assets/dynamic/troubleshoot-dms7.html

Views

29

Like

1

Replies

1
Re: Whats the efficient way to write ECMA script to redirect to a provided url
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi @SantoshSai I am trying to avoid the inclusion of an additional process step just for redirection. I think if I call a custom workflow process step I could get the payload from any of the available objects and possibly use a requestresponsefactory OSGI service to redirect but at the cost of an additional java class.As per the documentation ECMA script provide these objects.WorkItem, WorkflowSession, WorkflowData, args, sling and jcrSession.So I can easily get the payload but I am trying to un...

Views

67

Like

1

Replies

0
Re: Whats the efficient way to write ECMA script to redirect to a provided url
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks for your response but how do I get the payload in external JS.

Views

75

Like

1

Replies

2
Whats the efficient way to write ECMA script to redirect to a provided url
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
In one of the OR step in my workflow I want to bring the annotate function for users. When the user click the annotate option I would like to redirect to the 'mnt/overlay/dam/gui/content/assets/annotate.html' appended with the payload. whats the easiest way to bring page redirect. Do I need to call any sling service from the script. Thanks

Views

108

Likes

0

Replies

4
Re: How to enable Handle advance option in 'Goto Step' in AEM workflow
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks all for the support, I achieved this by providing Timeout immediate and timeout handler as Absolute Timeout Advancer.

Views

71

Like

1

Replies

0
Re: How to enable Handle advance option in 'Goto Step' in AEM workflow
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
I identified the culprit, I am using a Dynamic Participant step just before the Goto Step. This is the reason why handler advance is not working. Now I am trying to find ways to fix this.Thanks

Views

103

Likes

2

Replies

1
Re: How to enable Handle advance option in 'Goto Step' in AEM workflow
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
I want to apply the Goto step to 'first' without user needs to click ok from the inbox.

Views

115

Like

1

Replies

0
Re: How to enable Handle advance option in 'Goto Step' in AEM workflow
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi @lukaszm I have already included the ECMA script belowfunction check(){return true;}Still it is waiting for user validation to proceed. Thanks

Views

116

Like

1

Replies

1
How to enable Handle advance option in 'Goto Step' in AEM workflow
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
I am trying to enable the Handle advance option in the Goto Step but when I try to add this in the workflow it is adding the property PROPERTY_AUTO_ADVANCE as "false" by default. I modified the value to "true" and synched the workflow but still it is not working and Goto step is waiting for a confirmation to proceed.

Views

123

Likes

0

Replies

6
Re: Multiple paths handling in EventHandler not working
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks @Vijayalakshmi_S for sharing this handy solution this really saved my day 🙂

Views

186

Like

1

Replies

0
Re: Multiple paths handling in EventHandler not working
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks @Arun_Patidar for the clarification. I was thinking maybe some factory service injecting OSGi config properties as constructor would work.

Views

202

Like

1

Replies

2
Re: How to get current user session in osgi service?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi @lukaszm But still I need session to call replicator.replicator.replicate(session, ReplicationActionType.TEST, path, options); Thanks

Views

166

Like

1

Replies

1
Re: How to get current user session in osgi service?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi @BrianKasingli Thanks for your response. Unfortunately I am not in servlet but in a service implementing ResourceChangelistner. The reason why I am not using system user is by taking current user, I'll be able to check if the current user have replication permission. If they have the permission, I can use the same session to replicate. In servlet we used the same approach but now looking to do this within an osgi service. Thanks

Views

187

Like

1

Replies

3
How to get current user session in osgi service?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Is it possible to get the current user session from osgi service like from slingrequest. I need to get the user session so that I can use the current user permission to replicate some assets.

Views

192

Likes

0

Replies

6
Re: Multiple paths handling in EventHandler not working
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks @Vijayalakshmi_S and @Arun_Patidar for your response. Resource change listener seems to be more appropriate option for me. However I am wondering if it is possible to inject the path properties from an OSGI configuration, cause we are looking for dynamic path listener.

Views

232

Like

1

Replies

4
Multiple paths handling in EventHandler not working
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
I need to get the events while the property 'jcr:lastModified' is either added or modified. Also I only need to watch certain paths. I tried to add properties like this. I also checked the event console http://localhost:4502/system/console/events where I couldn't find my class. The debugger is also not reaching to the handleEvent method. Is this the correct way to do this. @component(immediate = true, service = EventHandler.class, property = {Constants.SERVICE_DESCRIPTION + "= This event handler...

Views

264

Likes

0

Replies

7
Re: Photoshop and Adobe Experience Manager: Accelerating creativity through APIs | AEM Community Blog Seeding
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Is this integration somehow possible in regular AEM environment not AEM as a service. Thanks

Views

28

Like

1

Replies

1
Re: AEM Workflow: set user input values from workflow initiator to be available in approver view
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Unfortunately you need to overlay hidden nodes to achieve this which may not be a good practice but still you can achieve this by overlaying the jsp path/libs/cq/inbox/gui/components/inbox/itemdetails/tabs/dataprovider/workitem/workitem.jspand read the user input value from WorkItem and append to the ValueMapDecorator. Once you do that do create nodes under the overlayed node path/libs/cq/inbox/content/inbox/details/workitem/jcr:content/content/items/tabs/items/workitemInfo/items/workitemProvide...

Views

79

Likes

2

Replies

2
Re: How to get the list of all assets and content fragments used in a page?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks @shaileshb584084 and @walterch for your time. I tried with AssetReferenceSearch and now I am able to get the list of assets and content fragment paths in the page. Not sure if I get nested CF list from this. I need to work on it. I am adding my code fragment below. Thanks again for your time.Node node = resource.adaptTo(Node.class); AssetReferenceSearch reference = new AssetReferenceSearch(node,"/content/dam/custom-project-path",resourceResolver); Map referenceList = new HashMap(); refere...

Views

140

Likes

2

Replies

0
Re: How to get the list of all assets and content fragments used in a page?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Still it doesn't solve my issue. Say, if I have a page A. The page A is included by a CF A. The CF A is referred to another CF B. My requirement is when the user clicks the page A, I should be able to fetch both CF A and CFB as references. I an not sure if ReferenceAggregator can be used for that purpose.

Views

145

Like

1

Replies

0
Re: How to get the list of all assets and content fragments used in a page?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi @walterch I need the reference list when a user click on a custom button within the page. I tried to use the class ReferenceProvider but it seems like there are lot of implementations for the same. Also I am not able to Refer most of these implementation. I am just curious to understand how the reference list is getting populated in /libs/wcm/core/content/sites/publishpagewizard.html?item="custom-path" while the default publication is invoked. I am just trying to understand if there is any AE...

Views

156

Like

1

Replies

1
How to get the list of all assets and content fragments used in a page?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
I need to get the list of all Content fragments and assets used in a page in my sling servlet. Which API should I use for this. Thanks

Views

175

Likes

0

Replies

7
How can I include content fragment model property in the OOB asset model json exporter?
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi All,I would like to include the property content fragment 'model' property in the default Asset API model exporter. Surprisingly this property will be exposed when we try page model json but not through asset json exporter. Is there any way we can enhance the behaviour to include an additional property? Thanks

Views

117

Likes

0

Replies

0
Re: Inclusion of content fragment path along with model json
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks for the response, really appreciate but customizing existing model json is what I am looking for.

Views

219

Likes

0

Replies

0
Re: Inclusion of content fragment path along with model json
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Thanks so much. I'll try to see if it is working. Thanks again 🙂

Views

217

Likes

0

Replies

0
Inclusion of content fragment path along with model json
Avatar
Affirm 3
Level 3
thatsmeadarsh
Level 3

Likes

20 likes

Total Posts

26 posts

Correct reply

4 solutions
Top badges earned
Affirm 3
Boost 10
Applaud 5
Boost 5
Boost 3
View profile
thatsmeadarsh
- Adobe Experience Manager
Hi All,As of now AEM OOB model.json expose content fragment elements but not the fragment path. We have a requirement to expose the fragment path along with the model.json as part of our headless CMS requirement. I found that the Exporter contains the fragmentPath variable but not getter for that.aem-core-wcm-components/ContentFragmentImpl.java at master · adobe/aem-core-wcm-components · GitHubAs this is inside internal package structure no idea on how to override this. What would be the solutio...

Views

256

Likes

0

Replies

4