In the above CRXDE image there are some properties which are auto created like jcr:uuid etc. and some are not ex cq:lastModified. So my question is related to that
what are the default properties which are auto created and which are by default assigned to page or asset when we create that.
Views
Replies
Total Likes
Let's talk about page first -
While creating a page are you getting below create page wizard? If yes
Please notice here Title is the mandatory field [it marks with asterisk]. To create a page I have to add title and if I don't use any other properties [don't define any other properties], then cq:lastModified, cq:lastModifiedBy, cq:template, jcr:title, sling:resourceType, jcr:primaryType, jcr:created and jcr:createdBy will be stored/created as shown below -
If you define more properties during page creation then more properties get created/stored in CRXDE.
Next based on author's action we will be seeing more properties.
For an asset you will seeing more properties as shown below -
You can easily test all these at your end also.
Sorry I am unable to see anything called auto created true or false. Could you please highlight.
Check the highlighted column
There are not any set of properties defined that will come by default on creation. It depends on the setup you have of AEM. Properties like title will always be there but there could be other properties that would come by default based on the integrations you have with AEM. Even properties could vary based on AEM version as well.
For example if you are using dynamic media integration then your assets will have bunch of properties related to scene7. Also few properties varies based on the type of Asset you are uploading.
@akshaybhujbale auto-created properties (such as jcr:primaryType
) are not subject to an overlay/override to ensure that the node type currently under /libs
is respected.
It may mean that it is created and administered by the system and can only be read (but not changed or deleted).
Auto Created is a property definition. Snippet from JCR Documentation :
Whether the property will be auto-created when its parent node is created. Only properties with a default value can be auto-created.
For example if you create a node of type sling:Folder, it will have few default properties with values and it will be available in all sling:Folder i.e. primary type, creation date and created. Whereas nt:unstructured node will have only primary type as default property.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies