I want to add a new property to the alfresco model which will have the node-uuid as default value.
<type name="nemo:Pdossier">
<title>Dossier Nemo</title>
<parent>cm:folder</parent>
<properties>
<property name="nemo:etatDossier">
<type>d:text</type>
</property>
<!-- Nouveau UUID qui sera utilisé lors de la migration d'alfresco -->
<property name="client:uuidClientFolder">
<type>d:text</type>
<default>????</default>
</property>
</properties>
</type>
how can I access the value of node-uuid
?
As Gagravarr mentioned, use a behavior. The code in the behavior would look something like:
If you've never implemented a behavior before, take a look at my tutorial for an example.