Add ability for unknown bodied macros to display its body contents so customer could still access it

XMLWordPrintable

    • 0
    • 2

      There are some use cases when it is expected to have pages using macros that are not installed or expired:

      • Pages migrated from other environments and not yet edited on the new environment;
      • Macros that will be replaced by another macro.

       

      • In the Fabric editor, unsupported or uninstalled bodied macros are shown as "Error loading extension," and the macro content is not visible. 
      • In contrast, the TinyMCE editor handled this scenario by displaying an "Unknown macro" frame, while still rendering the bodied content inside the editor. This allowed users to access and recover the content within unsupported macros. 

       

      Suggested Solutions

      Non-skilled users could edit the page when using the Legacy Editor, copy the content inside the 'unknown macro' and paste outside of the macro, does preserving the data.

      With the Cloud editor, this is not possible, as it only shows 'Error loading the extension!' 

      Workaround

      The user could use REST API to query the macro content:

      https://<site url>/wiki/rest/api/content/<contentId>?expand=body.atlas_doc_format 

      Notes:

      • Non-skilled users does not know how to get the data from the "Storage Format";
      • It is no longer possible to use the "View Source" option - https://jira.atlassian.com/browse/CONFCLOUD-82079;
      • Due to the Legacy Editor deprecation, it will not be possible to use the Legacy Editor to get the content after April/2026

       

              Assignee:
              Jeremy Liu
              Reporter:
              Murakami [Atlassian Support]
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: