Is there a way to set jcr:createdBy property value while creating page programatically? | Community
Skip to main content
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

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

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

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