I've implemented a new option for publish to preview, but I'm unable to find where to disable the option if required fields in my content fragment are not authored.
Can anyone help me with the path in libs where Quick Publish and Manage Publication options are disabled if required fields are not authored, so that the same I can override.
Thanks in Advance!
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @priyak ,
Pls check the below paths :-
/libs/wcm/core/content/sites/jcr:content/actions/selection/quickpublish,
/libs/wcm/core/content/sites/jcr:content/actions/selection/managepublication.
Check the below tread and it may be helpful .
Thanks,
Somen
Hi @somen-sarkar,
I have went through the thread which you mentioned. Its hiding for specific users. But in my case I've to hide based on authoring.
Attaching screenshot for better understanding, here if a required field is not authored by default rest of options are disabled. So I want to implement same for publish to preview option.
These are the paths which I've found from where its getting picked.
- /libs/dam/cfm/admin/clientlibs/v2/adminpage/core.js
- /libs/dam/cfm/admin/clientlibs/v2/adminpage/page.js
But rather than overlaying, I've added custom script for this requirement, which is working as expected.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies