How to retreive document types

Hi,

I created a form with a dropdown list, I want to fill it with Document types (File, Note, Custom types …).

Is there any java class that I can use to retrieve them ?

0 votes

1 answers

2119 views

ANSWER



Hi Dalal,

I use the API to get the defined asset types: curl -X GET 'http://nuxeo:8081/nuxeo/site/api/v1/config/types'

Does this help you?

Stefan

0 votes