How to use certain page properties on page creation but not after page is created?

vigiaemnewbie

18-03-2019

I am creating a custom page properties dialog for my page but I need to use some default page properties like "Title" etc. but don't want to display these fields once that page is created. I know about the "cq:showOnCreate" and "sling:hideResource" properties but both cannot be used together. If I give a property cq:showOnCreate=true and sling:hideResource=true then the property is hidden on page creation and also after page creation. How can I display certain properties only during page creation and not after page creation?

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

18-03-2019

Please check below:

Customizing Views of Page Properties

  • Page property to be available in the create view (e.g. Create Page wizard):
    • Name: cq:showOnCreate
    • Type: Boolean
  • Page property to be available in the edit view (e.g. View/Edit) Properties option):
    • Name: cq:hideOnEdit
    • Type: Boolean