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

Reading a Resource

Once the Registry instance is in place (embedded registry or remote registry), navigation is straightforward. It is the same as working with the Registry API. If we have a resource called "/foo/c1" in the Registry, you can access it using the Registry instance as given below:

Resource resource = registry.get("/foo/c1");

The resource object will represent the actual resource object in the Registry. But if the resource is a collection, then the object will represent the collection.

Tip

Once we have a registry instance, we do not need to pass a complete URL for all invocations. It is adequate to pass only a relative path to a resource.

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