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

  • jpluimers
    jpluimers E mod
    #2 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.

Answers