custom property whenever a page is created | Community
Skip to main content
krishnas9418141
October 10, 2018
Solved

custom property whenever a page is created

  • October 10, 2018
  • 1 reply
  • 606 views

Hi all,

The requirement is to add a custom property whenever a page is created ,can anyone help me with this.

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 aanchal-sikka

Here are steps to add a custom property on Create Page dialog:

  • Check sling:resourceType of the Page
  • Go to the component, and add the new property in cq:dialog of the component.
  • Add property "cq:showOnCreate" to the field.

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 17, 2023

Here are steps to add a custom property on Create Page dialog:

  • Check sling:resourceType of the Page
  • Go to the component, and add the new property in cq:dialog of the component.
  • Add property "cq:showOnCreate" to the field.

 

Aanchal Sikka