Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-896

Don't index/display a raw body when "ac:custom-content:search-body" is set

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Summary

      Feature request made in developer support: https://ecosystem.atlassian.net/browse/DEVHELP-3321

      In my Mind Map App, I store the mind map data in XML format in the raw body of a custom content type as proposed by the documentation:
      "You can define custom content to support a content body with a type of raw. This is useful when you want to store, for example, stringified JSON to the content." [1]

      While this works well, the raw body still gets indexed and displayed in the confluence search results. And seeing a bunch of XML code in the search results is probably confusing for the user.

      I tried using the "ac:custom-content:search-body" property which states: "The content of this property will also be used in displaying the excerpt text for search result." [1] but the content of that property was only added to the excerpt text and the XML code still remained.

      My proposal is not to index/display a raw body - at least when "ac:custom-content:search-body" is set.

      [1] https://developer.atlassian.com/cloud/confluence/modules/custom-content/

          Form Name

            [AI-896] Don't index/display a raw body when "ac:custom-content:search-body" is set

            There are no comments yet on this issue.

              Unassigned Unassigned
              acalantog Anne Calantog
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: