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

Creating and Publishing a Microsite

Creating a microsite

Follow the instructions below to create a microsite:
  1. Access the UES portal.
  2. On the Create menu, click Microsite.
  3. Enter a title for the dashboard.
    Only alphanumerical and - hyphen is allowed to be entered as the dashboard title. 
  4. Click Create new app.  
  5. Right click on the folder containing the name of the newly created microsite.
  6. Click Open in editor.
  7. Right click on the microsite folder and select New text file.
  8. Rename the filename and extension.
  9. Open the newly created file in the text editor.
  10. Write the code using jaggery and/or html.
    Use the tools in the editor when necessary.
  11. Click Save.
  12. Publish the microsite.

Publishing a microsite to the store

Follow the instructions below to publish a microsite to the store:

All source microsite file are secured with basic authentication. As a result by default any microsite is only viewable by the author. However, when publishing to the store, if the author wants to make the site public he/she will have to remove the security settings manually.

  1. Access the UES portal.
  2. On the My Items menu, click on the microsite folder that needs to be published.
  3. If you wish to make the site public once it is published carryout the additional steps mentioned below:
    1. In the microsite folder open the jaggery.conf file in the text editor.
    2. Remove the following code and save the jaggery.conf file.  

      "securityConstraints" : [
      		{
      			"securityConstraint" : {
      				"webResourceCollection" : {
      					"name" : "Test",
      					"urlPatterns" : [
      						"/*"],
      					"methods" : [
      						"GET",
      						"POST",
      						"PUT",
      						"DELETE",
      						"HEAD",
      						"OPTIONS",
      						"TRACE",
      						"CONNECT",
      						"PATCH"]
      				},
      				"authRoles" : [
      					"private_mari"]
      			}
      		}]
  4. Click Publish.
    The Published Settings page will appear.  
  5. Select "Site" as the Publish as option.
    Dashboards too need to be published as Sites. The default value is Sites.

  6. If required, edit the a name for the site.
  7. If required, edit the URL that will be used to publicly access the site.
  8. Enter a description on the microsite.
  9. Enter the URL of the thumbnail.
    A default thumbnail will appear if a thumbnail URL is not specified. 
  10. Enter the URL of the image.
    A default image will appear if a image URL is not specified.  
  11. Click Publish.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.