Setting page properties from scaffold. | Community
Skip to main content
Har_Khandelwal
Level 2
October 16, 2015
Solved

Setting page properties from scaffold.

  • October 16, 2015
  • 3 replies
  • 1868 views

Hi,

I am trying to get some fields populated from a scaffold and setting them to page properties. I have made a custom page properties tab with 3 widgets, 2 datefield and one textfield. Need help in setting these properties dyanmically through the scaffold by a java file.

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 Lokesh_Shivalingaiah

If you have custom pageproperties, that will be part of the page jcr:content 

So when you create a page using a template page which has your custom PageProperties, you can add the same under

/content/<app>/<page>/jcr:content

3 replies

WhoaShekhar
Level 10
October 16, 2015

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below mentioned scaffolding doc and see if it helps:

http://docs.adobe.com/docs/en/aem/6-0/author/site-page-features/scaffolding.html

Thanks!

Har_Khandelwal
Level 2
October 16, 2015

Hi,

I searched the page, but there is nothing mentioned about setting pageproperties from a sacffold. I am trying to do so using a java file, but unable to do so. 

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

If you have custom pageproperties, that will be part of the page jcr:content 

So when you create a page using a template page which has your custom PageProperties, you can add the same under

/content/<app>/<page>/jcr:content