I need a way to use the Dictionnary with an attribute in a type defintion in Content Metadata ? -
Thank you
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
@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.
@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 ?
@jpluimers
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 ??
@Med_2024 , the Dictionary service is not yet part of the trial plan. It will be added later.