window.AP.confluence.getMacroBody does not work on included pages with macro

XMLWordPrintable

    • 3
    • Minor
    • 8

      Issue Summary

      This is reproducible on Data Center: no

      Get macro body returns undefined when calling it on a page contained a macro and included with the include page macro.

      Steps to Reproduce

      1. Create a page that has a dynamicContentMacro with a body
      2. Save the page
      3. Create another page with a “include page” macro that includes the previous page
      4. Save the page and view it
      5. window.AP.confluence.getMacroBody never returns anything for the macro used on the included page. The callback is not executed.

      Expected Results

      We can get data about the macro that is on the included page

      Actual Results

      `window.AP.confluence.getMacroBody` does not return a result

      Workaround

      One possible workaround is to use the other page as a smart link

      • That way, they would always have the same content in both locations without the need to update the recently created page.

            Assignee:
            Connor DeYoung
            Reporter:
            Piyush Gayee
            Votes:
            27 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: