Details

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 15.5.0, 16.0.0
    • None
    • None
    • 3
    • Orion
    • Orion.Cycle8.Sprint2, Orion.Cycle8.Sprint3
    • Undetermined

    Description

      Storage model
      Help link and text for document types.

       /hippo:namespaces/namespace/doctype/editor:templates/_default_
         documentation.link
         documentation.link.text
      

      The link text value can be used for hover over in Experience Manager and also in the content perspective.

      For language based variants, both documentation.link and documentation.link.text can be added as key to look up translations in resource bundles below

       /hippo:configuration/hippo:translations/hippo:types/<namespace:doctype/<language>
      

      Expose in REST call
      Hook into the implementation behind

      org.onehippo.cms.channelmanager.content.ContentResource#getDocumentType
      

      to expose the properties in the /cms/ws/content/documenttypes/<namespace>:<doctype> call:

      {
          "id": "<namespace>:<doctype>",
          "displayName": "My Document Type",
          "allFieldsIncluded": true,
          "canCreateAllRequiredFields": true,
          "documentationLink": "https://en.wikipedia.org",    // new
          "documentationLinkText": "Link to wiki"             // new
          "fields": [
               // left out 
          ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              orion-team Orion Team
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: