CMS Api : Is there a way to map or link a Dictionnary to an attribute in a type definition ?
I need a way to use the Dictionnary with an attribute in a type defintion in Content Metadata ? -
Thank you
Best Answer
-
@Med_2024, create a dictionary, add values, then you can update the attribute definition of a type by adding the dictionary_definition and guid to it.
There is an example in the Content Metadata service API create new type definition. See POST /type-definitions/{catagory}, then in the Examples dropdown select 'With dictionary_definition'.Note that today it is not yet possible to create a dictionary in the VS Code type modeler.
1
Answers
-
@Med_2024, create a dictionary, add values, then you can update the attribute definition of a type by adding the dictionary_definition and guid to it.
There is an example in the Content Metadata service API create new type definition. See POST /type-definitions/{catagory}, then in the Examples dropdown select 'With dictionary_definition'.Note that today it is not yet possible to create a dictionary in the VS Code type modeler.
1 -
@jpluimers , thank you for the response , just a question what's the guid in ? " create a dictionary, add values,
then you can update the attribute definition of a type by adding the dictionary_definition and guid to it."
And when creating a new type instance of that type-definition , how to pass the value of the attribute linked to
the dictionnary ?
0 -
@jpluimers , thank you for the response , just a question what's the guid in ? " create a dictionary, add values,
then you can update the attribute definition of a type by adding the dictionary_definition and guid to it."
And when creating a new type instance of that type-definition , how to pass the value of the attribute linked to
the dictionnary ?
I tried creating a dictionnary with
, but faced a 404 error , is this API available with Ot Developer trial account ? or is this url correct ? https://na-1-dev.api.opentext.com/dictionary/v1/dictionaries ??
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 184 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories