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

Working with Anonymous User Access to a Dashboard

The process of creating a dashboard with anonymous access is the same for all tenants. WSO2 DS directs you to the anonymous view of a dashboard when trying to access a dashboard that has been created by another user. Let's see how a tenant can create a dashboard with anonymous access and view the dashboard.

Step 1 - Create a tenant

  1. Log into the WSO2 DS Management Console.
    • For access via HTTP: 
      http://<DS_HTTP_HOST>:<HTTP_PORT>/carbon/
    • For access via secured HTTP: 
      https://<DS_HTTPS_HOST>:<HTTPS_PORT>/carbon/
    • Example:
      http://localhost:9763/carbon/
  2. Click Configure.
  3. Create a new tenant.
    1. Click Add New Tenant.
    2. Add the following as the tenant details:
      • Domain - domain.com
      • First name - tenant
      • Last name - user
      • Admin username - tenantUser
      • Admin password - test12
      • Admin password (repeat) - test12
      • email - tenantUser@domain.com

Step 2 - Create a dashboard with anonymous access

  1. Log into the WSO2 DS Portal.
    • For access via HTTP: 
      http://<DS_HTTP_HOST>:<HTTP_PORT>/portal/
    • For access via secured HTTP: 
      https://<DS_HTTPS_HOST>:<HTTPS_PORT>/portal/
    • Example:
      http://localhost:9763/portal/ 
  2. Log in using your tenant username and password, which is as follows:
    • username - tenantUser@domain.com
    • password - test12
  3. Click Create Dashboard.
  4. Create a dashboard named sales-stats with the default grid layout.
  5. Drag and drop the following gadgets into the layout from the gadget menu.
    • USA business revenue.
    • USA maps
    • USA social media usage
  6. Click Pages.
  7. Click on the name of the Home page, which is the landing page.
  8. Select Make Anonymous to enable the anonymous view of the dashboard. 
    A separate tab for the anonymous view appears.
  9. Click Anonymous View to access the anonymous view of the dashboard.
  10. Drag and drop the following gadgets into the layout from the gadget menu.
    • USA business revenue
    • Text-box
    • USA social media usage

Step 3 - View the dashboard in anonymous view

Enter the following URL, which corresponds to the dashboard that we created, in a web browser.

https://localhost:9443/portal/dashboards/sales-stats

When you do not log into the WSO2 DS portal, the anonymous view of the dashboard is displayed as follows:


When logging into the WSO2 DS portal, the default view for the dashboard is displayed as follows:

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