NodeRef test = personService.getPerson(authService.getCurrentUserName());
String ActualUser = (String)nodeService.getProperty(test, ContentModel.PROP_USERNAME);
pour son username, comment récuperer un champs du style cm:numentreprise ?NodeRef test = personService.getPerson(authService.getCurrentUserName());
Serializable value = nodeService.getProperty(test, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "numentreprise"));
Bonjour,
C'est quelque chose comme :NodeRef test = personService.getPerson(authService.getCurrentUserName());
Serializable value = nodeService.getProperty(test, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "numentreprise"));
{http://www.alfresco.org/model/content/1.0}adresseip
0.0.0.0
{http://www.alfresco.org/model/cmis/0.6}id
true
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.