since ‎30-05-2017
‎10-12-2019
pankajkdhingra
Level 2
Re: Asset Collections Action Condition 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...
923
Views
0
Likes
0
Answers
Re: Delete DAM asset workflow 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
2897
Views
0
Likes
0
Replies
Re: Asset Collections Action Condition pankajkdhingra - Adobe Experience Manager
Arun Patidar​ This JS is not working. Select action is not being handled by this JS.
921
Views
0
Likes
0
Answers
Re: Asset Collections Action Condition 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.
922
Views
0
Likes
0
Answers
Re: Delete DAM asset workflow 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.
2897
Views
0
Likes
1
Replies
Re: Delete DAM asset workflow 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...
2897
Views
0
Likes
3
Replies
Re: Delete DAM asset workflow 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​
9894
Views
0
Likes
5
Replies
Re: Delete DAM asset workflow 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...
9894
Views
0
Likes
7
Replies
Re: Delete DAM asset workflow pankajkdhingra - Adobe Experience Manager
smacdonald2008​ JaideepBrar​ Amy_Wong​I would really appreciate your help here.
9894
Views
0
Likes
0
Replies
Re: Change AEM Deletion Functionality 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.
14089
Views
1
Like
0
Replies
Re: Delete DAM asset workflow 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?
9894
Views
0
Likes
1
Replies
Delete DAM asset workflow 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 ...
10334
Views
2
Likes
14
Replies
Re: Change AEM Deletion Functionality pankajkdhingra - Adobe Experience Manager
Hi Arun, How we can hide delete button for DAM asset?
14089
Views
1
Like
3
Replies
Re: Closed captioning for Dynamic Media video file pankajkdhingra - Adobe Experience Manager
Is this functionality available only in Scene7 Dynamic Media mode?
1161
Views
0
Likes
0
Answers
Re: Custom Components JS is not working in Experience Fragments pankajkdhingra - Adobe Experience Manager
No. The clientlib js of the component. Dialog js is working fine.
1318
Views
0
Likes
0
Replies
Custom Components JS is not working in Experience Fragments 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.
1376
Views
0
Likes
2
Replies
Dynamic Media Component is not working in AEM6.4 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:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...
949
Views
0
Likes
1
Replies
Re: Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray 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.
1124
Views
2
Likes
0
Answers
Re: Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray 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...
1127
Views
0
Likes
0
Answers
Re: AEM 6.4 unable to access content path via resourceresolver/session 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.
1549
Views
2
Likes
0
Answers
Login page is not being displayed in AEM 6.4. Throwing Null Pointer Exception in HtmlLibraryManagerImpl load libraray 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...
2863
Views
2
Likes
8
Answers and Comments
Re: AEM 6.4 unable to access content path via resourceresolver/session 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?
1485
Views
1
Like
0
Answers
Re: AEM 6.4 unable to access content path via resourceresolver/session 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 ...
1491
Views
1
Like
0
Answers
Re: AEM 6.4 unable to access content path via resourceresolver/session 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 ...
1494
Views
1
Like
0
Answers
Re: Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems? 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...
1056
Views
0
Likes
0
Answers
Re: Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems? 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.
1054
Views
0
Likes
0
Answers
Tags are not fetching in AEM 6.4 when upgrading from AEM6.2. is there anyone else facing same problems? 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...
2671
Views
0
Likes
5
Answers and Comments
Re: [New] Welcome to AEM Community! Please Introduce Yourself 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.
5724
Views
1
Like
0
Replies