What is jcr:uuid? When it will be generate? | Community
Skip to main content
New Participant
August 2, 2022
Solved

What is jcr:uuid? When it will be generate?

  • August 2, 2022
  • 1 reply
  • 3758 views

What is jcr:uuid? When it generate after page or asset creation or after publishing?

Is it a default property? 

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 Jagadeesh_Prakash

@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.

 

 

1 reply

Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
New Participant
August 2, 2022

@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.

 

 

New Participant
August 2, 2022

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?

Jagadeesh_Prakash
New Participant
August 2, 2022

@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