04-01-2021 08:00 AM
In the API Explorer, when updating a node there's a note that settings properties of d:category is not supported (see image)
This means that Categories (cm:categories) and Tags (cm:taggable) of a node are not updatable via REST: is there a workaround to update them? In the future will be possible or when upgrading from Share to ADF this kind of properties will be lost forever?
04-05-2021 12:49 AM
You can use the Tags API for taggable:
https://api-explorer.alfresco.com/api-explorer/#/tags
Not sure about Category, but there should be some workaround to update this kind of properties. I guess using the right NodeRef via the Node API should be enough.
04-07-2021 05:37 AM
Ok for tags, thank you Angel.
Still looking for categories... will make some other experiment.
04-12-2021 09:03 AM
With Categories no luck.
The problem is in the Java implementation of the repo, here: probably there is a behaviour or something else that invalidate the property while is written. I get the simple error message "Failed to persist....")
This is bad: I am trying to migrate a customer from 5.2 to 6.2 but they use categories and so they can't use ADF.
I would have to create a custom endpoint (or looking if via CMIS there is something) just to update the cm:categories.
For completeness for any future reader: in ADF actually there is no component to view or update Tags, but at least there is an official REST endpoint, so you can make your own component and it will be probably usable during future migrations.
Making my own endpoint it's a pain that I will carry with me also in future migrations.
04-14-2022 07:05 AM
Found any solution for retrieve the categories with the rest api?
Explore our Alfresco products with the links below. Use labels to filter content by product module.