cancel
Showing results for 
Search instead for 
Did you mean: 

Name of File is not its cm:name

alfresco_lover
Champ on-the-rise
Champ on-the-rise

Hi,

I am creating behaviour that renames files. I know how to rename file, but the issue is that after changing the cm:name also the name of file changes what I do not want to.image

Value of field Název is my cm:name and also name of file that appears in document library, but I would like to have "Název" as cm:name and "Vlastní identifikátor" as name of file.

I would like to know if there is a way how to create file with different cm:name and filemane (cm:name is not a name of file)? 

Thanks

Tereza

 
4 REPLIES 4

sanjaybandhniya
Elite Collaborator
Elite Collaborator

If you want different name only for display purpose then you can add your custom attribute where you can set your name and use that name for display.

You need to change many places like documentlibrary,aikau search etc...

hi,

thanks for your answer.

Can you give me a hint how to do it?. Which attribute or property should I change or add?

Thanks 

Tereza

abbask01
Star Collaborator
Star Collaborator

why not change cm:title instead of cm:name. title appears just besides the name in document library

Regards,
Abbas

sanjaybandhniya
Elite Collaborator
Elite Collaborator

You can use name and title for your use case.

Keep name as it is and use title to give different name.