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.
B_Sravan
B_SravanAccepted solution
New Participant
Oct 14, 2022 5:50 AM UTC

"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)

5 replies

Shashi_Mulugu
New Participant
Oct 10, 2022 11:16 AM UTC

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..

Translate
karunaAuthor
Level 2
Oct 13, 2022 6:07 PM UTC

Hi @1986054 ,

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

Translate
B_Sravan
New Participant
Oct 9, 2022 2:18 PM UTC

Can you be more specific? 

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

Translate
karunaAuthor
Level 2
Oct 13, 2022 6:10 PM UTC

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.

Translate
B_Sravan
B_SravanAccepted solution
New Participant
Oct 14, 2022 5:50 AM UTC

"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)
Translate