cancel
Showing results for 
Search instead for 
Did you mean: 

What's the difference between cm:author and cm:owner?

upforsin
Star Collaborator
Star Collaborator

Hello,

what's the purpose of cm:author if we have cmSmiley Surprisedwner? Is it cm:author a leftover after some old Alfresco versions?

I see many unit/intergration tests associated with it but in main code there is nothing important.

PS. Is there a way to block text autoconversion (Smiley Surprised) to emoji ?

howkymike
Alfresco Developer
1 ACCEPTED ANSWER

Sorry, the public property in UI like Share is "cm:creator" and "cm:modifier":

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

"cm:author" is an optional property that may or may not be filled:

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

Hyland Developer Evangelist

View answer in original post

3 REPLIES 3

angelborroy
Community Manager Community Manager
Community Manager

cm:author is the public author of the document, so every user in the UI can verify the authority of a document.

cmSmiley Surprisedwner is the technical owner of the document, related to permissions and usually not available in the UI.

Hyland Developer Evangelist

Hi @angelborroy 

but couldn't the cmSmiley Surprisedwner be both public author and technical owner?

cmSmiley Surprisedwner has always a correct value, cm:author only sometimes. What's more, if it is visible, usually it has a None (null) value.image

howkymike
Alfresco Developer

Sorry, the public property in UI like Share is "cm:creator" and "cm:modifier":

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

"cm:author" is an optional property that may or may not be filled:

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/model/conten...

Hyland Developer Evangelist