Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

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

Avatar

Level 7

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

Is it a default property? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

 

3 Replies

Avatar

Correct answer by
Community Advisor

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

 

 

Avatar

Level 7

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?

Avatar

Community Advisor

@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