Pages

Tuesday, June 7, 2022

CRM Analytics: Dashboard URL

CRM Analytics Dashboard URL Id starts with prefix 0FK, which is shared between dashboard and lens. We can share the dashboard with users in Analytics Studio or Analytics tab, although ideally, Analytics Studio is intended for the dashboard builder. The Analytics tab will let users stay in the Lightning app.

When working on a dashboard in Analytics Studio, we will see the URL, for example: 
https://domain_name.lightning.force.com/analytics/dashboard/0FKB0000000LU1AOAW

If we share the above URL with a user, the dashboard will be opened in Analytics Studio.

If we only put the Id after force.com/ such as https://domain_name.lightning.force.com/0FKB0000000LU1AOAW
this will be translated to
https://domain_name.lightning.force.com/lightning/page/analytics?wave__assetType=dashboard&wave__assetId=0FKB0000000LU1AOAW&wave__folderId=00lB0000000JlslIAC
which will open the dashboard in the Analytics tab

while a lens will be translated similarly, with the difference in the assetType parameter, such as
https://domain_name.lightning.force.com/lightning/page/analytics?wave__assetType=lens&wave__assetId=0FKB0000000NQfJOAW&wave__folderId=005B0000003vvjQIAQ
this will open the lens in the Analytics too

There is another option to open the dashboard in the Analytics tab
https://domain_name.lightning.force.com/lightning/r/Lens/0FKB0000000LU1AOAW/view
this will be translated as
https://domain_name.lightning.force.com/lightning/page/analytics?wave__assetType=dashboard&wave__assetId=0FKB0000000LU1AOAW&wave__folderId=00lB0000000JlslIAC

Clicking the Share button in the dashboard will give us 2 options, and the difference is only at the last parameter which is "analyticsContext"

Analytics Tab
https://domain_name.my.salesforce.com/analytics/wave/dashboard?assetId=0FKB0000000LU1AOAW&orgId=00DB0000000EHcW&loginHost=ap10.salesforce.com&urlType=sharing&pageId=5dc8d0db-7e48-4964-8607-294b016f955a&savedViewId=8wkB0000000L9zkIAC&analyticsContext=analyticsTab

Analytics Studio
https://domain_name.my.salesforce.com/analytics/wave/dashboard?assetId=0FKB0000000LU1AOAW&orgId=00DB0000000EHcW&loginHost=ap10.salesforce.com&urlType=sharing&pageId=5dc8d0db-7e48-4964-8607-294b016f955a&savedViewId=8wkB0000000L9zpIAC&analyticsContext=analyticsStudio




No comments:

Post a Comment