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

pankajkdhingra
Community profile pankajkdhingra Level 3
Job title here
Location here
13 BADGES
Level 3

Level 3

Learn more
Joined the community 30-05-2017 8:10:34 AM
Offline
Top badges earned by pankajkdhingra
Customize the badges you want to showcase on your profile
Re: Asset Collections Action Condition
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
When I use the same script as it is in (function($, $document) {'use strict'; var requestForDeletion1 = ".coral-masonry-item.foundation-collection-item"; $(document).on("click", ".'coral-masonry-item.foundation-collection-item coral-quickactions>button[title=\"Select\"]', listviewSelector, colummnviewSelector", function () {var item = $(this).closest('.foundation-collection-item').attr('data-foundation-collection-item-id')console.log(item);// ajax call to servlet$.get('/bin/dam/collections/check...

Views

1.1K

Likes

0

Replies

0
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Arun Patidar​ dvnSudheer​could you please let me know what could get wrong in this?The refresh issue is still there and is not calling the JS mentioned in other thread: Asset Collections Action Condition

Views

3.2K

Likes

0

Replies

0
Re: Asset Collections Action Condition
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Arun Patidar​ This JS is not working. Select action is not being handled by this JS.

Views

1.1K

Likes

0

Replies

0
Re: Asset Collections Action Condition
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hi Arun Patidar​It is not invoking servlet on clicking on asset in any view. It is caching value of flag and got invoked only on refresh.

Views

1.1K

Like

1

Replies

1
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Arun Patidar​thanks for your suggestion. but it seems that this logic is also not working. Flag gets updated only after refresh.

Views

3.2K

Likes

0

Replies

1
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks Arun Patidar​I got the issue but not its fix. Actually, When I select a folder under the allowed path, it works first time and shows the button. and then it caches the value. So now, next time "not allowed" folder is selected, it is still showing button. After refreshing the screen, it removes the cache and doesn't show button on "not allowed" folder. Then If I selected allowed path, it does not show button. So it requires to refresh every time. I have tried your solution too but it is be...

Views

3.2K

Likes

0

Replies

3
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks a lot, Sudheer. With your help and few customization, i was able to create customized workflow for deletion of DAM assets in the workflow. I am stuck at one more point: "Request to delete" button should appear on only "/content/dam/ABC" path. I have tried Granite expressions, acs-common path, Reuqestinfo.Suffix and other suggested solutions on net. But Button is either appearing on all paths or none.could you please suggest the correct way to do it?smacdonald2008​ Arun Patidar​

Views

10.8K

Likes

0

Replies

5
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks, dvnSudheer​I have created a workflow model by creating some dynamic steps and verify the "replicate" status of payload in dynamic participant steps. The issue is: When I am triggering this workflow from the launcher, the asset is getting deleted even before completion of the workflow. So as per suggestions above, I have hidden the "delete" button and trying to a new button "Request for deletion" and on this button, I am trying to initiate my workflow. I am not able to find the point or w...

Views

10.8K

Likes

0

Replies

7
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
smacdonald2008​ JaideepBrar​ Amy_Wong​I would really appreciate your help here.

Views

10.8K

Likes

0

Replies

0
Re: Change AEM Deletion Functionality
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks Arun I was able to hide the delete button by using sling resource merger but the new challenge is to show a new button and trigger workflow from it. Thanks a lot in advance.

Views

15.2K

Like

1

Replies

0
Re: Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks Jaideep. 1. I am able to hide delete button using sling merger but it is not showing new tab/button for "Request for Deletion". 2. How to call a workflow from this new button?3. "backspace" is a shortcut for direct delete, will the new button need to override "backspace" shortcut key too?

Views

10.8K

Likes

0

Replies

1
Delete DAM asset workflow
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
We have a requirement for workflow for approval on the deletion of a DAM asset. The requirements are : The author should request for deletion of an asset. Workflow should check 1. if Asset is not published 2. If the asset is referenced in any pageIf both conditions are met, the "Librarian" group should able to receive the workflow request. Once the Librarian approves the workflow, it should delete the asset, mail should be triggered to the initiator and super usersOnce the Librarian rejects the ...

Views

11.2K

Likes

2

Replies

14
Re: Change AEM Deletion Functionality
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hi Arun, How we can hide delete button for DAM asset?

Views

15.2K

Like

1

Replies

3
Re: Closed captioning for Dynamic Media video file
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Is this functionality available only in Scene7 Dynamic Media mode?

Views

1.4K

Likes

0

Replies

0
Re: Custom Components JS is not working in Experience Fragments
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
No. The clientlib js of the component. Dialog js is working fine.

Views

1.5K

Likes

0

Replies

0
Custom Components JS is not working in Experience Fragments
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
On Site page, Custom components are working fine and it is able to load components.js.But on Experience Fragment, it is not loading/including Components.js and Custom Components JS is not working.The Same component is working fine on site page but not in experience fragment. We Dont want to customize Experience Fragment.Has someone found the same issue? I am using AEM6.4.3.

Views

1.5K

Likes

0

Replies

2
Dynamic Media Component is not working in AEM6.4
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
AEM OOTB Dynamic Media is not working on first time. We are getting below error when adding component for first time and once we configure the component (even without any value) then it will work as expected.Below error message is in error.logStack Trace:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...

Views

1.1K

Like

1

Replies

2
Re: Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
We restored the environment from backup and deployed the latest build again. It worked fine. We could not troubleshoot the reason behind the issue or what fixed it but it is working now.

Views

1.5K

Likes

2

Replies

0
Re: Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
We installed a code package but it worked properly that time. We deployed a package on Friday morning. It worked welll. but on Sunday afternoon, it started giving this issue. Really surprised. We reverted the packages deployed on thursday and friday but still issue persists. We have restarted the system twice after deploying old package but it is still giving same issue.No HTML page : sites.html, editor.html, login.html is appearing. In Friday change, We introduced listeners.js in server libs(fu...

Views

1.5K

Likes

0

Replies

0
Re: AEM 6.4 unable to access content path via resourceresolver/session
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
feike_visser could you please explain what kind of permissions has been changed from AEM6.2 to AEM6.4 ?Actually, We need to follow the same practice in Stage/PROD and we have too much content in PROD, it could be risky approach and may bring some issues in the live site.

Views

2.1K

Likes

2

Replies

0
Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Login page and other pages on AEM6.4 Environment are not being displayed. It was working properly but suddenly it is not working. able to login in CRX/de/index.jsp but no HTML pages are being rendered. Have tried restarting the servers and deploying old releases. Exception in logs27.08.2018 14:44:26.314 *ERROR* [0:0:0:0:0:0:0:1 [1535361266176] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingExceptionjava.lang.NullP...

Views

3.3K

Likes

2

Replies

8
Re: AEM 6.4 unable to access content path via resourceresolver/session
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
It was null pointer error in publish environment on the same code in the author as it was not able to get resources at the location/child page.it got fixed now as I have created a package of permissions and replicated on publish environment with "Merge" type. but I am unable to understand how it was working in AEM6.2 but didn't work when we moved the code base from AEM6.2 to AEM6.4?

Views

2.0K

Like

1

Replies

0
Re: AEM 6.4 unable to access content path via resourceresolver/session
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hi All,I was also getting the same problem and I applied the solution suggested here. Thanks, it workedIt was working in AEM6.2 without any permission to Sling-scripting user but in AEM6.4, we have to give this permission to make it work.Now it is working in Author but in publish, it is still giving me same issue. it is unable to read tags/child resources/nodes in publish but it is working in Author environment.P.S. We have recently upgraded our AEM version from AEM6.2 to AEM6.4Could you please ...

Views

2.1K

Like

1

Replies

0
Re: AEM 6.4 unable to access content path via resourceresolver/session
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hi All,I was also getting the same problem and I applied the solution suggested here. Thanks, it workedIt was working in AEM6.2 without any permission to Sling-scripting user but in AEM6.4, we have to give this permission to make it work.Now it is working in Author but in publish, it is still giving me same issue. it is unable to read tags/child resources/nodes in publish but it is working in Author environment.P.S. We have recently upgraded our AEM version from AEM6.2 to AEM6.4Could you please ...

Views

2.1K

Like

1

Replies

0
Re: Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems?
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hi Arun, thanks a lot for this response. I still getting issues. The only difference in my code and your code is that in your code, it is getting TagManager from req in servlet while I am writing the tag fetching logic in Controller class in activate method by getting resolving to resource resolver of user account. like this. public ResourceResolver getUserSystemResourceResolver() { ResourceResolverFactory factory = getSlingScriptHelper(). getService(ResourceResolverFactory.class); ResourceResol...

Views

1.4K

Likes

0

Replies

0
Re: Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems?
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Thanks Arun for your response. Yes, I have given access to this location too. but as far I was reading that AEM 6.4 supports backward compatibility and works for both locations of tags.

Views

1.3K

Likes

0

Replies

0
Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems?
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Tags were working properly in AEM 6.2. and we upgraded to AEM 6.4. Now tag manager is unable to resolve tags and throwing null pointer exception. TagManager tagManager = resourceResolver.adaptTo(TagManager.class);Tag tagObj = tagManager.resolve("/etc/tags/x/abc");TagManager tagManager = resourceResolver.adaptTo(TagManager.class);Tag tagObj = tagManager.resolve("x:abc");both of the above-mentioned code snippets are not working and throwing null pointer when try to use tabObj."everyone" user has b...

Views

3.0K

Likes

0

Replies

5
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar
Ignite 5
Level 3
pankajkdhingra
Level 3

Likes

16 likes

Total Posts

28 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 10
Give Back 5
View profile
pankajkdhingra
- Adobe Experience Manager
Hello All,I am Technical Lead for AEM in Stryker. I have 14+ years of experience in Java and Java EE Web and Enterprise Applications. I am Oracle Certified Master, Java EE 6 Enterprise Architect. Please feel free to connect me for any help required in AEM, Enterprise architecture, Java, Java EE, Web services areas.I am glad to be part of this community.

Views

7.9K

Like

1

Replies

0