Expand my Community achievements bar.

SOLVED

custom property whenever a page is created

Avatar

Level 1

Hi all,

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

aanchalsikka_0-1702781160661.png

 


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.

aanchalsikka_0-1702781160661.png

 


Aanchal Sikka