Filed Custom Field from Cmis

cancel
Showing results for 
Search instead for 
Did you mean: 
Chris_Kolofotis
Customer

Filed Custom Field from Cmis

Hello , 

I am trying insert a custom field inside document properties.I create a new custom model inside alfresco ui.Custom_Model.PNG

Then i create the custom type and the layout like the screenshots.

Custom_Type.PNG

Custom_layout.PNG

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.

Properties_Cmis.PNG

Document_Properties.PNG

Can anyone help me with ?

3 Replies
angelborroy
Alfresco Employee

Re: Filed Custom Field from Cmis

In the Share form you added "crmuser" instead "cgm:crmuser".

Hyland Developer Evangelist
Chris_Kolofotis
Customer

Re: Filed Custom Field from Cmis

I think i must connect my cmis code with this Custom_Type.PNG 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?

 

afaust
Master

Re: Filed Custom Field from Cmis

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.