I have went through this documentation of Adobe for hiding using metadata, but where to apply in AEM XWalk UE project. https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Viswa_vsu,
In your XWalk repo, open head.html (root of the repo). That’s where UE config meta tags go. GitHub
To remove the Publish UI, add this line inside <head>:
<meta name="urn:adobe:aue:config:disable" content="publish"/>
(Optional: also hide “Publish to Preview”):
<meta name="urn:adobe:aue:config:disable" content="publish-preview"/>
These are the official keys UE reads.
About “Unpublish”: Adobe’s UE docs currently list disable flags for publish and publish-preview only; there’s no documented unpublish disable flag. The Unpublish action lives under the ellipsis menu.
If you must block Unpublish:
Clean way (no UI hack): remove replicate permissions for those author groups/paths in AEM so they can’t publish/unpublish at all. (AEM permission-based.)
UI way: build a tiny UE extension to filter actions from the toolbar/ellipsis (hide Unpublish for specific paths/roles).
Deploy, open the page in Universal Editor, refresh, and confirm the Publish button (and preview option) are gone.
Hi @Viswa_vsu,
In your XWalk repo, open head.html (root of the repo). That’s where UE config meta tags go. GitHub
To remove the Publish UI, add this line inside <head>:
<meta name="urn:adobe:aue:config:disable" content="publish"/>
(Optional: also hide “Publish to Preview”):
<meta name="urn:adobe:aue:config:disable" content="publish-preview"/>
These are the official keys UE reads.
About “Unpublish”: Adobe’s UE docs currently list disable flags for publish and publish-preview only; there’s no documented unpublish disable flag. The Unpublish action lives under the ellipsis menu.
If you must block Unpublish:
Clean way (no UI hack): remove replicate permissions for those author groups/paths in AEM so they can’t publish/unpublish at all. (AEM permission-based.)
UI way: build a tiny UE extension to filter actions from the toolbar/ellipsis (hide Unpublish for specific paths/roles).
Deploy, open the page in Universal Editor, refresh, and confirm the Publish button (and preview option) are gone.
I added the below metadata , But it hides both the publish and Unpublish button from UE.
<metaname="urn:adobe:aue:config:disable"content="publish"/>
Do we have any reference for capturing the Unpbulish action for UE extensions? https://developer.adobe.com/uix/docs/services/aem-universal-editor/api/header-menu/#api-reference
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies