What is jcr:uuid? When it will be generate? | 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.
Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
New Participant
Aug 2, 2022 2:47 PM UTC

@akshaybhujbale The jcr:uuid property is a protected, auto-created, mandatory property. This means that it is created and administered by the system and can only be read (but not changed or deleted) by the client. The job of the jcr:uuid property is to expose the universally unique identifier (UUID) of its node

 

https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/1.0/4.9_Referenceable_Nodes.html#:~:text=The%20jcr%3Auuid%20property%20is,(UUID)%20of%20its%20node.

 

 

3 replies

Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
New Participant
Aug 2, 2022 2:47 PM UTC

@akshaybhujbale The jcr:uuid property is a protected, auto-created, mandatory property. This means that it is created and administered by the system and can only be read (but not changed or deleted) by the client. The job of the jcr:uuid property is to expose the universally unique identifier (UUID) of its node

 

https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/1.0/4.9_Referenceable_Nodes.html#:~:text=The%20jcr%3Auuid%20property%20is,(UUID)%20of%20its%20node.

 

 

Translate
Level 6
Aug 2, 2022 2:50 PM UTC

Thanks @jagadeesh_prakash 

When it will be created after creating page/assets or after publishing it?

Also what are the protected and auto created properties?

Translate
Jagadeesh_Prakash
New Participant
Aug 2, 2022 2:52 PM UTC

@akshaybhujbale 

 

Once can note that jcr:uuid indeed was considered as a candidate initially, but was not further considered since:

When asset is replicated to publish instance then on publish instance new jcr:uuid will be created.
As per section 3.3 of JCR 2.0 spec , this identifier is unique in the workspace, but it never guarantees lifetime uniqueness 

Translate