Migrate Confluence static content macro to dynamic content macro

Hi,

Is it possible to migrate a Confluence static content macro to a dynamic content macro with keeping the same macro key and no changes to a Confluence page?
If so is it possible to:

  1. reimplement the static macro as a dynamic macro in our code
  2. change the connect descriptor to use a dynamic content macro with the same macro key
  3. have the new dynamic macro render instead of the static content macro without changes to the Confluence page source

Hello @marc

Yes, you can migrate a static content macro to a dynamic content macro, just by making sure that it has the same macro key.

The storage format for static and dynamic content macros is the same, so the Confluence’s page content will not need to change to support this.

Regards,
Sam

1 Like

Hi @SamLeatherdale ,
Thanks!