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

Directing the Root Context to API Store

WSO2 API Manager maintains separate UIs for API publishers and subscribers as the API Publisher and API Store. The root context of the API Manager is set to direct to the API Publisher Web interface by default. For example, assume that the API Manager is hosted on a domain named apis.com with default ports. The URLs of the API Store and API Publisher Web interfaces will be as follows:

If you open the root context (https://apis.com:9443) in your browser, it directs to the API Publisher by default. Follow the steps below to make it direct to the API Store instead of the API publisher:

  1. Open the bundle <AM_HOME>/repository/components/plugins/org.wso2.am.styles_1.x.x.jar.
  2. Open the component.xml file that is inside META-INF directory.
  3. Change the <context-name> element, which points to publisher by default, to store:

    <context>
            <context-id>default-context</context-id>
            <context-name>store</context-name>
            <protocol>http</protocol>
            <description>API Publisher Default Context</description>
     </context>
  4. Restart the server.
  5. Open the default context (https://apis.com:9443) again in a browser and note that it directs to the API Store.

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