06-06-2017 01:10 PM
Hi,
Guys I want to discovery a parent type of my custom type.
How can I discovery the parent? There is some rest operation?
Thanks
06-07-2017 02:10 AM
06-07-2017 02:10 AM
Maybe this helps:
Regards.
--C.
06-07-2017 01:39 PM
Very nice Cesar.
Thank you so much!
06-07-2017 05:15 AM
Hi,
One of the options perfect explained by Cesar Capillas and I usually use is:
http://localhost:8080/alfresco/service/api/dictionary
I think is an easy and fast option to recover information:
For example, trying to find the custom type "Contract", I obtain de parent type "cm:content"
"name": "con:contract", "isAspect": false, "isContainer": false, "title": "contract", "description": "Custom type contract", "parent": { "name": "cm:content", "title": "content", "url": "/api/classes/cm_content" }
Regards,
06-07-2017 01:39 PM
Very nice Douglas.
Thank you so much!
06-07-2017 01:53 PM
Only a small adjust.
In Alfresco 5.2 the url is: http://x.x.x.x:8080/alfresco/s/api/classes/sc_identificacao
Pay attention the letter 's' I don't know why but I see on the scripts.
06-08-2017 03:20 AM
Hi Maicon:
It should work both "s" or "service" in the url.
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.