Forge Macro with layout: 'inline' does not display when viewing a template

XMLWordPrintable

    • Minor

      Issue Summary

      In Confluence, when viewing a Template that has a Forge app that uses layout: 'inline', it does not appear when viewing the Template but shows and error message.

      When viewing the HTML for the error we see
      Unhandled adf-node when trying to transform from storage to view format. Node is ac:adf-node

      Steps to Reproduce

      1. Create a Forge Confluence Hello, World macro
      2. Add layout: 'inline' to the manifest.yml
        modules: 
           macro: 
            - key: hello-world-app
              function: main
              title: Forge Hello World app
              description: Inserts Hello world!
              layout: 'inline'
          function: 
            - key: main
              handler: index.run
        
      1. In Confluence, go to COG -> Global Templates and Blueprints and click Add global page template
      2. Add the Hello, World macro: it will appear as expected
      3. Save the template
      4. Click on the template name to view the template

      Expected Results

      Macro or macro placeholder displays as expected.

      Actual Results

      No errors are thrown in the console logs or forge tunnel logs.
      The Template view shows the error as

      Workaround

      Remove the layout: 'inline'

            Assignee:
            Unassigned
            Reporter:
            James Richards
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: