I have two User Macros in Confluence Data Center:
We are migrating to Confluence Cloud, and I have created a custom Forge app to provide this same functionality. I would now like to try to have the Confluence Cloud Migration Assistant (CCMA) handle the migration of these User Macros to the new Forge app. Based on the documentation, it seems possible, but I have not been able to get it to work. Here are some things I have setup to try to get this working:
EnumSet.of(
MIGRATION_TRACING_PRODUCT,
MIGRATION_TRACING_IDENTITY,
PRODUCT_DATA_OTHER,
APP_DATA_OTHER
)
Map<String, String> macroMappings = new HashMap<>();
macroMappings.put("noprint", "noprint");
macroMappings.put("pagebreak", "pagebreak");
return macroMappings;
In my listener code I have "log.info" and "System.out.println" statements to try to see if there is any output in my log files on Confluence Data Center, but nothing is printed.
After migration, any use of the P2 macros just appear in Confluence Cloud as "Error loading the extension!".
Any ideas on how to get this migration to help would be greatly appreciated. Thanks.
A related question: Do the Forge apps actually work when printing? I.e. is the noprint content not in the PDF?
Thanks! I was thinking this would stop working after Connect, however it also seems possible in Forge.
Can I ask how you made the "noprint" macro?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.