Hi,
For our AEM 6.1 instance we need to make sure that assets (/assets.html/content/dam) on the Touch UI can be locked and unlocked by authors. Is there a way to enable this or does this have to be custom implemented?
I know that there is a "Locking Action" for Asset Editor pages which we don't want to use. We need to hook in locking/unlocking feature into the DAM toolbar in the Touch UI.
I found these instructions - http://aemtips.blogspot.com.au/2013/05/how-to-enable-lockunlock-features-for.html - but these seem to be for an older CQ version and it did not work for AEM 6.1.
Thanks,
Alex
Views
Replies
Total Likes
Hi Alex,
Are you able to solve this problem? If yes, can you please share some info on the same.
Thanks
Sainath
Views
Replies
Total Likes
Hi
Please have a look at this :- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
//How to enable Lock/Unlock for DAM Assets for Touch Optimised UI?
Documentation :- https://docs.adobe.com/docs/en/aem/6-0/administer/content/assets/assets-finder-editor.html#Adding Asset Editor Actions
//
Locking | Lets users lock an asset. This functionality is not enabled by default and needs to be enabled in the list of components. |
I hope this would be of some help to you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi Kautak,
Thanks for the reply.
The link you shared is talking about Asset Editor/Asset Share.
But I am looking to enable Lock/Unlock in the Assets Touch UI console, not on the Asset Editor/Share page.
Thanks
Regards,
Sainath
Views
Replies
Total Likes
These 2 nodes has the property to enable lock/unlock functionality.
/libs/wcm/core/content/damadmin/actions/lock
/libs/wcm/core/content/damadmin/actions/unlock
Set the property 'disabled' under these nodes to true or false to disable or enable the respective functionality,
Views
Replies
Total Likes
Thanks Ashok for the reply.
But the information you provided works only for the Classic UI. I am looking to enable lock/unlock in Touch UI Assets.
Do you have any info on that?
Views
Replies
Total Likes
For those use case - I would use classic UI to lock as pointed out by Ashok
Views
Replies
Total Likes
Just to close this topic off, its posible to update Classic UI DAM ADMIN to have the Lock and Unlock Tool bar items.
You will need to enable LOCK and UNLOCK nodes.
The changes you will need to make:
This will not enable this in Touch UI. To do this in Touch UI you will need to do a bit of Overlaying, here is the scope of work for this:
I have done this and it works a treat! I would allow at least a day to complete this task.
TouchUI JSON for completness
http://localhost:4502/libs/wcm/core/content/damadmin/actions/lock.tidy.json
{ | |
"jcr:primaryType": "nt:unstructured", | |
"privileges": ["update"], | |
"conditions": [ | |
"CQ.wcm.SiteAdmin.hasListSelection", | |
" CQ.wcm.SiteAdmin.lockable" | |
], | |
"target": "CQ.wcm.SiteAdmin.getTargetFromList", | |
"cls": "cq-siteadmin-lock", | |
"text": "Lock", | |
"disabled": false, | |
"handler": "CQ.wcm.SiteAdmin.lockNode", | |
"context": ["toolbar"], | |
"iconCls": "cq-siteadmin-lock-icon" | |
} |
http://localhost:4502/libs/wcm/core/content/damadmin/actions/unlock.tidy.json
{ | |
"jcr:primaryType": "nt:unstructured", | |
"privileges": ["update"], | |
"conditions": [ | |
"CQ.wcm.SiteAdmin.hasListSelection", | |
" CQ.wcm.SiteAdmin.unlockable" | |
], | |
"target": "CQ.wcm.SiteAdmin.getTargetFromList", | |
"cls": "cq-siteadmin-unlock", | |
"text": "Unlock", | |
"disabled": false, | |
"handler": "CQ.wcm.SiteAdmin.unlockNode", | |
"context": ["toolbar"], | |
"iconCls": "cq-siteadmin-unlock-icon" | |
} |
Views
Like
Replies