Hide persmission tab in page properties for specific template types | Adobe Higher Education
Skip to main content
Level 6
January 30, 2024
Beantwoord

Hide persmission tab in page properties for specific template types

  • January 30, 2024
  • 2 reacties
  • 899 Bekeken

Hi

I need to hide the permissons tab in page properties for only two template types or for content under /content/area.

I tried the following but that hides the permissions tab for all all pages.

<permissions
jcr:primaryType="nt:unstructured"
sling:orderBefore="analytics"
sling:hideResource="true"/>
Er kunnen geen reacties meer worden geplaatst op dit onderwerp.
Beste antwoord door arunpatidar

If you are using the editable template then you can show/hide tabs, page properties from the page design dialog, similar to any other component.



Example : Image core component 

Hide dynamic media field : https://github.com/adobe/aem-core-wcm-components/blob/88b54675e1303adc211b0c29578297cccd082e1b/content/src/content/jcr_root/apps/core/wcm/components/image/v2/image/_cq_dialog/.content.xml#L80 
from design dialog : https://github.com/adobe/aem-core-wcm-components/blob/88b54675e1303adc211b0c29578297cccd082e1b/content/src/content/jcr_root/apps/core/wcm/components/image/v2/image/_cq_design_dialog/.content.xml#L45 

2 reacties

Kamal_Kishor
Community Advisor
Community Advisor
January 30, 2024
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAntwoord
Community Advisor
January 30, 2024
anasusticAuteur
Level 6
January 31, 2024
arunpatidar
Community Advisor
Community Advisor
January 31, 2024

Hi @anasustic 
There is no permission tab but you can find the way to show hide dialog item based from design dialog settings.

Arun Patidar