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

Retrieving Metadata of a Resource

To retrieve metadata associated with a resource, such as author, created date, etc. We can use the registry instance with the following line of code:

registry.getMetaData("c1/c2/r2");
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.