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

Working with Templates via Tooling

You need to have WSO2 Integration Studio installed to create a new template or to import an existing template. For instructions, see Installing WSO2 Integration Studio.

Creating a template

Follow these steps to create a new scheduled task. Alternatively, you canĀ import an existing template.

  1. OpenĀ WSO2 Integration Studio,Ā and clickĀ Miscellaneous ā†’Ā Create New Config ProjectĀ in theĀ Getting StartedĀ tab.

  2. Enter a project name and clickĀ Finish.

  3. The new project will be listed in the project explorer.
  4. Right click the project and go toĀ New ā†’ TemplateĀ to open theĀ New Template ArtifactĀ dialog.
  5. Type a unique name for the template and specify the type of template you are creating.Ā 

    Currently the following three types are supported (See their description following the appropriate links):

  6. Do one of the following:
    • To save the template in an existing ESB Config project in your workspace, clickĀ BrowseĀ and select that project.
    • To save the template in a new ESB Config project, clickĀ Create new ProjectĀ and create the new project.
  7. If you specified an address or WSDL endpoint as the template type, enter the URL for the address or the WSDL URI and connection information in theĀ Advanced ConfigurationĀ fields.
  8. ClickĀ Finish.Ā The template is created in theĀ src/main/synapse-config/templatesĀ folder under the ESB Config project you specified. When prompted, you can open the file in the editor, or you can right-click the template in the project explorer and clickĀ Open With > ESB Editor. Click its icon in the editor to view its properties.

Importing a template

Follow these steps to import an existing template into an ESB Config project. Alternatively, you canĀ create a new template.

  1. OpenĀ WSO2 Integration Studio,Ā and clickĀ Miscellaneous ā†’Ā Create New Config ProjectĀ in theĀ Getting StartedĀ tab.

  2. Enter a project name and clickĀ Finish.

  3. The new project will be listed in the project explorer.
  4. Right click the project and go toĀ New ā†’ TemplateĀ to open theĀ New Template ArtifactĀ dialog.
  5. SelectĀ Import a TemplateĀ and clickĀ Next.
  6. Specify the XML file that defines the template by typing its full path name or clickingĀ BrowseĀ and navigating to the file.
  7. In theĀ Save Template InĀ field, specify an existingĀ ESB Config project in your workspace where you want to save the template, or clickĀ Create new ProjectĀ to create a new ESB Config project and save the template configuration there.
  8. If there are multiple template definitions in the file, clickĀ Create ESB Artifacts, and then select the templates you want to import.
  9. ClickĀ Finish.Ā The templates you selected are created in the subfolders of theĀ src/main/synapse-config/templatesĀ folder under the ESB Config project you specified, and the first template appears in the editor.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.