Add an Oracle Analytics Component to the Redwood Sales Dashboard
You can embed content created in Oracle Analytics Cloud into the Sales Dashboard using Oracle Visual Builder Studio.
Here's an example of an Oracle Analytics component:
![This is a screenshot of an Oracle Analytic.](images/zca-canvas-indiv-runtime.png)
For more information about the Oracle Analytics embedding framework, see the Oracle Cloud Visualizing Data and Building Reports in Oracle Analytics Cloud guide.
Prerequisites
-
Retrieve the Object ID from your existing Oracle Analytics content:
-
Navigate to the Oracle Analytics Host where the analytics workbook is saved.
-
Click the Actions menu > Inspect.
-
Next to the Object ID, click Copy.
-
Paste the Object ID, along with the Oracle Analytics Host URL, into a separate file for later use. For example:
-
Oracle Analytics Host:
https://oac01-gse00010001-px.analytics.ocp.oraclecloud.com/
-
Object ID:
/@Catalog/shared/Custom/HP Exploration/Revenue Trend copy
-
-
-
Sales Dashboard layouts are read only in Visual Builder Studio. To modify a layout, you must first create a copy.
Duplicate the Sales Manager - My ToDo's Content dashboard layout as described in Configure Redwood Sales Dashboard Layouts so that you have a layout that's ready to modify.
Add an Oracle Analytics Component to the Sales Dashboard
-
On the Properties pane for the Sales Manager - My ToDo's Content (Copy) layout, click the + Add Section icon.
-
In the Create Section dialog, in the Title field, enter
Revenue Trend
, and click OK.Note: The title is the name of the component, not how the component will appear at runtime on the dashboard. The runtime title comes from thePanel Title
property that you specify for the Dashboard Panel fragment. See step 10.The newly added section is added to the bottom of the layout. Use the Move Up arrow to move the new section to the desired location.
-
Click Revenue Trend.
The template editor opens.
-
Click the Code button.
Your new Revenue Trend section displays with empty placeholder
template
tags. -
On the Components palette, in the Filter field, enter
dashboard panel
. -
Drag and drop the Dashboard Panel fragment to the template editor, between the template tags.
-
On the Components palette, in the Filter field, enter
analytics canvas
. -
Drag and drop the Analytics Canvas fragment to the template editor, between the
oj-sp-dashboard-panel
template tags. -
In the template editor, click the
oj-sp-dashboard-panel
template tags. -
On the Properties pane, in the Panel Title field, enter the title that you want to display on the dashboard for the analytic, such as
Revenue Trend
. -
In the template editor, click the
oj-sp-analytics-canvas
template tags. -
On the Properties pane, in the Oracle Analytics Host field, enter the host URL that you previously saved, such as
https://oac01-gse00010001-px.analytics.ocp.oraclecloud.com/
. -
In the Project Path field, enter the repository path of the project to render, such as
/@Catalog/shared/Custom/HP Exploration/Revenue Trend copy
.Note: This is the Object ID of the Oracle Analytics workbook that you previously saved. -
Test the modified dashboard layout by previewing your application extension.
Click the Preview button to see your changes in your runtime test environment.
-
The resulting preview link will be:
https://<servername>/fscmUI/redwood/cx-sales/dashboards/sales-dashboard
Change the preview link as follows:
https://<servername>/fscmUI/redwood/cx-sales/application/container/dashboards/sales-dashboard
Save your work by using the Push Git command.
Navigate to the Git tab, review your changes, and do a Git push (which does both a commit and a push to the Git repository).