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

Custom UI Sample

This sample demonstrates how a simple custom UI can be created to add, view, and edit endpoints stored on the WSO2 Governance Registry. Refer  Custom User Interface section to learn more about how to add custom UI implementations into the registry.

The "Resource Name," "Endpoint Name," and "Endpoint URI" are mandatory fields, and the "URI" must be valid.

Adding an endpoint reference as a resource

1. Drop the sample's jars into <G-REG_HOME>/repository/components/dropins/ directory from <G-REG_HOME>/samples/custom-ui/bin/ directory.

  • Copy and paste org.wso2.carbon.registry.samples.custom.topics-5.2.0-SNAPSHOT.jar into the <G-REG_HOME>/repository/components/dropins/ folder.
  • Copy and paste org.wso2.carbon.registry.samples.custom.topics.ui-5.2.0-SNAPSHOT.jar into the <G-REG_HOME>/repository/components/dropins/ folder.

2. Restart the server and log in to the admin console. See Running the Product for more information.

3. Go to the "Resources" menu. See Managing the Resources.

4. Click the "Add Resource" link to add a new resource, and choose "Create custom content" from the "Method" combo box.

5. A text box named "Media type" will be displayed. You will be able to select from several media type options in the drop-down list. Select "other."

6. Enter "epr" as the media type.

7. Click "Create Content." A form to enter endpoint details will be displayed.

8. Fill in the form and click "Save." The resource will be added.

Browsing the resource

1. Browse the added resource from the "Entries" table and click on it.

2. The content of the resource will be shown in a custom view.

3. The content can be edited by clicking "Edit endpoint."

4. Edit the content and click "Save."

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