Expand my Community achievements bar.

SOLVED

Setting page properties from scaffold.

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

3 Replies

Avatar

Level 10

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!

Avatar

Level 3

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. 

Avatar

Correct answer by
Level 10

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