Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-81707

API to return the Forge Macro adfExport response (ADF not the rendered content)

XMLWordPrintable

    • 6
    • 2
    • 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.

      Problem Definition

      Forge macros are able to declare adfExport functions define how they should output ADF format for rendering in Word, PDF or other contexts. It is not possible for an app to retrieve the ADF output from any other macros when rendering their content, for example within the ADF Renderer UI Kit module.

      Rendered (HTML) content from the adfExport function can be returned using existing APIs, but there's not way to retrieve just the ADF returned by the adfExport function.

      Suggested Solution

      • Provide a similar capability to, or extend the convert macro body API to support outputting the ADF rendered representation of a macro.

      Why this is important

      • Macros provide enriched customer information. When consumed and rendered elsewhere within apps, an inability to fully contextualise the content of a page limits the potential usage for customers.

      Workaround

      No known workarounds. A workaround will be added here if a workaround is found.

              c492e89ad56d Grant Heimbach
              ccda2dbaa5e2 Sean Bourke
              Votes:
              45 Vote for this issue
              Watchers:
              23 Start watching this issue

                Created:
                Updated: