Expand my Community achievements bar.

SOLVED

Is there a way to set jcr:createdBy property value while creating page programatically?

Avatar

Level 2
1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Deepti,

jcr:createdBy is a protected property of jcr [1], if you would like to add your own value, then have it with a different propertyName like createdBy and refer to this property in your application whereever necessary !

[1] http://www.day.com/specs/jsr170/javadocs/jcr-2.0/javax/jcr/nodetype/package-summary.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Deepti,

jcr:createdBy is a protected property of jcr [1], if you would like to add your own value, then have it with a different propertyName like createdBy and refer to this property in your application whereever necessary !

[1] http://www.day.com/specs/jsr170/javadocs/jcr-2.0/javax/jcr/nodetype/package-summary.html