Alfresco Rest Api Change Folder Title

cancel
Showing results for 
Search instead for 
Did you mean: 
suayb58
Active Member

Alfresco Rest Api Change Folder Title

Hello everyone.i want to change the title information of a folder in alfresco using rest api.But I could not find it in the alfresco rest document.Do you have any information on this?

5 Replies
zhihailiu
Active Member

Re: Alfresco Rest Api Change Folder Title

https://api-explorer.alfresco.com/api-explorer/#!/nodes/updateNode

PUT /nodes/{nodeId}

{

  "properties":
  {
    "cm:title":"Folder title"
  }
}

suayb58
Active Member

Re: Alfresco Rest Api Change Folder Title

I tried it. But the file header did not change.this service is return  200, but the file header does not change.

zhihailiu
Active Member

Re: Alfresco Rest Api Change Folder Title

Interesting. It worked for me. Is "file header" the same as "folder title" in your original post?

suayb58
Active Member

Re: Alfresco Rest Api Change Folder Title

I added the parameter "accessStatus": "ALLOWED" while creating the file.The problem has improved.I can update the title of the file

ratik_singhal
Established Member

Re: Alfresco Rest Api Change Folder Title

You can write a behaviour(policy) and on an update/create you can set the Title.