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

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

  • August 2, 2022
  • 1 reply
  • 3771 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
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
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.

 

 

Level 6
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
Community Advisor
Community Advisor
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