CMS : Cases : Metadata inheritance file/case ?

Options

Hello , I have some questions about the CMS Cases API :

  • Could a document(file) inherit some metadata from the case instance ?
  • What are the possible values for the other the caseNode Obect Type other than "object_type": "Folder_type" ?
  • My understanding is that a case is like a folder with certain structure and permissions , is that correct ?

Answers

  • Karen Weir
    Karen Weir E Community Administrator
    Options

    Thank you @Med_2024 , we are reviewing your inquiry with the team.

  • @Med_2024 See my responses below inline to your questions. Let me know if this helps.

    • Could a document(file) inherit some metadata from the case instance ?
      If the case model is associated with a certain type or trait definition then any file added to the case instance can be created with the attributes supported by the type or trait. Is that what you are looking for ?
    • What are the possible values for the other the caseNode Obect Type other than "object_type": "Folder_type" ?
      CMS has no restriction, this can be any custom type you define of type file, folder or object. The object_type will be the system name of the relevant type
    • My understanding is that a case is like a folder with certain structure and permissions , is that correct ?
      Yes, your understanding is correct. The predefined structure with permissions can be defined with a case model and case instances are created on top of the model

  • Med_2024
    Options

    @Prasanna Sridharan @Karen Weir , Thank you for the clarification , I was checking documentation of

    CMS/cases api , for POST /case/type-definitions , In CaseModelInput Schema I can't see the definition of

    properties or attributes , Couldn't a case have properties defined in the model ?

  • Med_2024
    Options

    • Could a document(file) inherit some metadata from the case instance ?
      If the case model is associated with a certain type or trait definition then any file added to the case instance can be created with the attributes supported by the type or trait. Is that what you are looking for ?

    How to associate a type to the case model ? If the category of the type is file could it be associated with the case

    model ?

  • @Med_2024 You can create a type definition independently with the type-definitions API

    e.g., curl -X 'POST' \ 'https://na-1-dev.api.opentext.com/cms/type-definitions/folder

    and then use the "system_name" of the type-definition as the "object_type" in the case model creation request.

    For e.g., the object_type value in the below request is the "system_name" received in the response of a type definition creation request.