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

Working with Extension Artifacts

An artifact is a type of unit of resource, which needs to be loaded in a hierarchical manner (e.g., workflows and mail templates). These units of logic and presentation need to be extendable both at an app and asset level. This behavior is implemented in an artifact model.

You can use the artifacts namespace in the RXT module to retrieve artifacts.

var artifacts = require(‘rxt’).artifacts;
var tenantId = -1234;
var artifact = artifacts.get(‘asset_created’,’mail_template’,tenantId);

The currently supported artifact types include:

  • Workflows (workflows)
  • Mail Templates (mail_templates)
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.