Under maintenance

Heretto Help

View DITA Content and Metadata for a Resource

You can view the content and DITA metadata of a resource in the Source Editor and via its REST URL. While it's handy for authors to view raw file source in the editor, using the REST URL is useful, for example, when troubleshooting issues. You can view the raw source of various file types, including DITA, image, or CSS files.

The REST URL response is equivalent to calling the Get Document Information CCMS API endpoint (documentation available upon request) and in some cases, like DITA files, provides more detail than the Source Editor.

Any user can view DITA metadata in the Source Editor. Users with authoring permissions can also view DITA metadata in a REST URL response.

View resource metadata in the Source Editor

  1. In the Content Library, right-click a resource editable in the Source Editor and select Edit Source.

    Files editable in the include: .html, .js, .json, .css, .md, .txt, and .xml files.

  2. Review the content and metadata of the file.

View resource metadata in a REST URL response

  1. In the Content Library, click a resource.

    REST URL is available for any resource in the CCMS.

    The Resource Drawer opens on the right.

  2. Expand API Info at the bottom of the Resource Drawer and click REST URL while holding Alt.
    a gif showing a user clicking a map, Resource Drawer opening on the right, user going to the API Info section and selecting REST URL while holding the Alt key. Then, a rest url response opens in a new tab showing the map structure, content, and DITA metadata.
  3. Review metadata provided in the REST URL response that opens in a new tab.