Hello ,
I am trying insert a custom field inside document properties.I create a new custom model inside alfresco ui.
Then i create the custom type and the layout like the screenshots.
When i am trying to upload a file with the custom model and the custom type , i don't get any error but i can not fill the custom property.
Can anyone help me with ?
In the Share form you added "crmuser" instead "cgm:crmuser".
I think i must connect my cmis code with this custom type .
Correct ? So i am trying to add it in Properties like that :
'properties2.put("cgn:crmuser",uploadDocumentRequest.userName) ; ' .
where do you think I'm wrong?
In there it is correct. What Angel refers to is the form configuration - there you have added a field for crmuser instead of cgn:crmuser - so the issue may be as simple as showing a different (empty) field in Share and your value(s) might actually be set.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.