How to hide a specific path under : aem/tags | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by B_Sravan

"Tags can be applied by authors and site visitors. Irrespective of their creator, all forms of tags are made available for selection, both when assigning to a page, or when searching."

- source: https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/tags.html?lang=en#deleting-tags 

 

I have a technique to avoid selecting unintended tags:

 

  1. change your tag field on page properties to a selection field instead typing/choosing a tag. (simple)
  2. Assign read/write permission to the specific tags to a certain user group, so either anonymous group or even author group couldn't select them or use them.(recommended)
  3. Write a listener which looks for tagging events and validate the tags – remove/keep them accordingly with tag manager api (Not worth of putting that effort in my honest opinion)

2 replies

B_Sravan
Community Advisor
Community Advisor
October 9, 2022

Can you be more specific? 

Hide from what? you don't want these tags to be displayed or what?

karunaAuthor
Level 2
October 13, 2022

yes @b_sravan , I don't want these tags to be displayed.

When we open page properties and select the Tags from available List of "Tags"

In this list of "Tags" I don't want an specific Tag to be displayed.

I want that Tag to become un-available under that List of Tags.

B_Sravan
Community Advisor
B_SravanCommunity AdvisorAccepted solution
Community Advisor
October 14, 2022

"Tags can be applied by authors and site visitors. Irrespective of their creator, all forms of tags are made available for selection, both when assigning to a page, or when searching."

- source: https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/tags.html?lang=en#deleting-tags 

 

I have a technique to avoid selecting unintended tags:

 

  1. change your tag field on page properties to a selection field instead typing/choosing a tag. (simple)
  2. Assign read/write permission to the specific tags to a certain user group, so either anonymous group or even author group couldn't select them or use them.(recommended)
  3. Write a listener which looks for tagging events and validate the tags – remove/keep them accordingly with tag manager api (Not worth of putting that effort in my honest opinion)
Shashi_Mulugu
Community Advisor
Community Advisor
October 10, 2022

Hey @karuna , Are you looking for ACL to show/hide certain AEM tags based on user groups?

 

All AEM tags will be under /content/cq:tags/, you use AEM groups todo that..

karunaAuthor
Level 2
October 13, 2022

Hi @1986054 ,

I am looking for generic once, not specific to any particular User Group.