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

Executing a Query

A custom query stored in the registry can be executed by giving the path of the stored query and giving a Map of the required parameters. For example:

registry.executeQuery("/path/to/storedQuery", parameter_map); // parameter map contains key value pairs required by the query
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.