com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Moving and Copying a Resource



Moving a Resource

If a resource needs to be moved, the following code can be used:

registry.move("c1/c2/r3", "c1/c2/r4");

Copying a Resource

If a resource needs to be copied, the following code can be used:

registry.copy("c1/c2/r3", "c1/c2/r4");

Warning

Please note that you cannot move/copy resources and collections across mounts if they have dependencies or associations against it. However, movement/copying of resources can be done within a scope of a mount. For more information on mounts read Remote Instance and Mount Configuration Details.

See also Managing Entries or Content to learn how to do this from the Governance Registry Management Console.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.