Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to hide a specific path under : aem/tags

Avatar

Level 2

How to hide a specific path under : aem/tags

5 Replies

Avatar

Community Advisor

Can you be more specific? 

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

Avatar

Level 2

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.

Avatar

Community Advisor

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

 

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)

Avatar

Community Advisor

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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now