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
- 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/
- For access via HTTP:
- Click Configure.
- Create a new tenant.
- Click Add New Tenant.
- 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
- Click Add New Tenant.
Step 2 - Create a dashboard with anonymous access
- 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/Â
- For access via HTTP:
- Log in using your tenant username and password, which is as follows:
- username -Â tenantUser@domain.com
- password - test12
- Click Create Dashboard.
- Create a dashboard named
sales-stats
 with thedefault grid
layout. - Drag and drop the following gadgets into the layout from the gadget menu.
- USA business revenue.
- USA maps
- USA social media usage
- Click Pages.
- Click on the name of the Home page, which is the landing page.
- Select Make Anonymous to enable the anonymous view of the dashboard.Â
A separate tab for the anonymous view appears. - Click Anonymous View to access the anonymous view of the dashboard.
- 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.