Analytics Portlets in SDF Custom Objects
You can create Analytics portlets in SuiteCloud Development Framework (SDF) using the publisheddashboard
SDF custom object. For information about the appropriate context, see Published Dashboards as XML Definitions.
Analytics portlets enable you to view your workbook charts, pivot tables, and table views on your home dashboard. You can add up to 10 Analytics portlets, and each portlet can display one chart, pivot table, or table view.
Analytics portlets in SDF are represented with the analytics
element. You can specify this element in a dashboard of a published dashboard object.
The following example defines a medium-sized Analytics portlet that displays a chart:
<analytics>
<portlettype>CHART</portlettype>
<visualization>[scriptid=custworkbook1.custchart2135234234]</visualization>
<name>My Chart Portlet</name>
<height>MEDIUM</height>
</analytics>
The following example defines an Analytics portlet that displays 20 visible rows in a pivot table:
<analytics>
<portlettype>PIVOT</portlettype>
<visualization>[scriptid=custworkbook1.custpivot2135234234]</visualization>
<name>My Pivot Table Portlet</name>
<visiblerows>20</visiblerows>
</analytics>
The following example defines an Analytics portlet that displays 20 visible rows in a table view:
<analytics>
<portlettype>TABLE</portlettype>
<visualization>[scriptid=custworkbook1.custview2135234234]</visualization>
<name>My Table View Portlet</name>
<visiblerows>20</visiblerows>
</analytics>
You can specify the following fields in an Analytics portlet:
-
Visible rows — You can only specify the visible rows field of the Analytics portlet if it is a pivot table or a table view. Charts do not support the visible rows field.
-
Height — You can only specify the height field of the Analytics portlet if it is a chart. Table views and pivot tables do not support the height field.
For more information, see Setting Up the Analytics Portlet.
The Analytics portlet only exports values from custom workbooks. It does not export values from standard workbooks. For more information about customizing workbooks, see Custom Workbook Objects.
Analytics portlets are not supported by bundles. You can deploy a publisheddashboard
SDF custom object containing an Analytics portlet to a NetSuite account. However, if you bundle the object, the Analytics portlet is not included in the resulting bundle.
For more information about Analytics portlets, see:
Related Topics
- Supported Published Dashboard Object Portlets
- Calendar Portlets in SDF Custom Objects
- Custom Portlets in SDF Custom Objects
- Custom Search Portlets in SDF Custom Objects
- Event Scheduler Portlets in SDF Custom Objects
- Key Performance Indicator (KPI) Portlets in SDF Custom Objects
- Key Performance Indicator (KPI) Scorecard Portlets in SDF Custom Objects
- KPI Meter Portlets in SDF Custom Objects
- Links Portlets in SDF Custom Objects
- List Portlets in SDF Custom Objects
- My Login Audit Portlets in SDF Custom Objects
- Gantt Chart Portlets in SDF Custom Objects
- Project Info Portlets in SDF Custom Objects
- Project Profitability Portlets in SDF Custom Objects
- Project Links Portlets in SDF Custom Objects
- Quick Search Portlets in SDF Custom Objects
- Recent Records Portlets in SDF Custom Objects
- Recent Reports Portlets in SDF Custom Objects
- Report Snapshot Portlets in SDF Custom Objects
- Reminders Portlets in SDF Custom Objects
- Search Form Portlets in SDF Custom Objects
- Settings Portlets in SDF Custom Objects
- Tasks Portlets in SDF Custom Objects
- Trend Graph Portlets in SDF Custom Objects