Embedding PS Cloud AI Analytics Dashboards in a Lightning Page
The following PS Cloud AI Analytics dashboards are available to embed in Lightning pages:
Adding the PSA Project Margin % Predictor (beta) Dashboard to the Project Lightning Page
To embed the PSA Project Margin % Predictor (beta) dashboard in a Lightning page, we recommend you create a new tab in the Project Lightning Page layout:
- From Setup | Object Manager | Project | Lightning Record Pages, open the Project Lightning Page.
- Select the details tab component, then click Add Tab to create a new details tab.
- Click the new details tab to edit it and change the tab label to custom.
- Name your custom label "Project Margin % Predictor".
- In the components panel search for the CRM Analytics Dashboard.
- Drag and drop the CRM Analytics Dashboard component to the new tab.
Adding the PSA Staffing Risk Predictor (beta) Dashboard to the Project Lightning Page
To embed the PSA Staffing Risk Predictor (beta) dashboard in aLightning page, we recommend you create a new tab in the Project Lightning Page layout:
- From Setup | Object Manager | Project | Lightning Record Pages, open the Project Lightning Page.
- Select the details tab component, then click Add Tab to create a new details tab.
- Click the new details tab to edit it and change the tab label to custom.
- Name your custom label "Staffing Risk Predictor".
- In the components panel search for the CRM Analytics Dashboard.
- Drag and drop the CRM Analytics Dashboard component to the new tab.
Configuring the Dashboard Component
After the Analytics dashboard component is added to a new tab, customize the component to display your data.
Configuring the Dashboard Component to Display the PSA Project Margin % Predictor (beta) Dashboard
- Select the CRM Analytics Dashboard to open its configuration panel.
- Search for and select the PSA Project Margin % Predictor (beta) dashboard to display.
- Set the height for this embedded dashboard. We recommend you use 450 pixels for this setting.
- Expand the Dashboard Filters section .
- Click Filter Builder, then click + Add Dashboard Filter.
- Select the Project Margin dataset.
- Select the Project ID dataset field.
- Select the Equals operator.
- Select the Record ID object field, then click OK.
Configuring the Dashboard Component to Display the PSA Staffing Risk Predictor (beta) Dashboard
- Select the CRM Analytics Dashboard to open its configuration panel.
- Search for and select the PSA Staffing Risk Predictor (beta) dashboard to display.
- Set the height for this embedded dashboard. We recommend you use 720 pixels for this setting.
- Expand the Dashboard Filters section .
- Click Filter Builder, then click + Add Dashboard Filter.
- Select the Days to Staff dataset.
- Select the Project ID dataset field.
- Select the Equals operator.
- Select the Record ID object field, then click OK.
Finally, we recommend you apply the following settings to the CRM Analytics Dashboard component:
- Deselect Show Sharing Icon
- Deselect Show Title
- Enable the header area in order to display the date and time at which your dashboard data has been refreshed.
- Select Open Links in New Window
- Select Hide on Error
- Select Disable open dashboard feature from the drop-down menu in Open Dashboard.
Saving and Activating Your Embedded Dashboard
To finish the embedding setup process, you must save and activate the Lightning Page:
- Click Save.
- Click Activate. You can now rename the copy of your app and select a different icon.
- Click Lightning Experience. From the duelling picklist, select the location in your org you want the app to appear.
- Click Save. You can now access your embedded app from your selected location.