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

Accessing Widget Configuration

This section explains how to access the configuration of a widget in the <SP_HOME>/deploment/web-ui-apps/portal/extensions/widgets/<WIDGET_NAME>/widgetConf.json file to understand how data displayed in the widget is fetched. 

To access the widget configuration, follow the steps below.

  1. Ensure that your widget is extended from the based widget provided by the dashboard portal. If not, follow the instructions in Creating Custom Widgets - Extending from base widget component.

    The base widget version is required to be newer than 1.2.1.

     

  2. Call the following method to get the widget configuration information.

    super.getWidgetConfiguration(this.props.widgetID)
        .then((message) => {
            //Access widget configuration from message.data
        })
        .catch((error) => {
            // Handle Rest API call failure
        });

     

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