Newer Version Available

This content describes an older version of this product. View Latest

wave:dashboard

Use this component to add a Salesforce Analytics Cloud dashboard to a Visualforce page.

Attributes

Attribute Name Attribute Type Description Required? API Version Access
body Component[] The body of the component. In markup, this is everything in the body of the tag. 34.0 global
dashboardId String The unique ID of the dashboard. You can get a dashboard’s ID from its URL in Salesforce or request it through the API. This attribute can be used instead of the developer name, but it can't be included if the name has been set. One of the two is required. 34.0 global
developerName String The unique developer name of the dashboard. You can request the developer name through the API. This attribute can be used instead of the dashboard ID, but it can't be included if the ID has been set. One of the two is required. 34.0 global
filter String Adds filters to the dashboard at runtime. You can filter dataset fields by specified values. The filters are specified with JSON strings in the same format as the detail page UI JSON, for example:
1{
2'datasetDeveloperName1': {'field1': ['value']},
3'datasetDeveloperName2': {'field1': ['value1', 'value2'],'field2': ['value3']}
4}
34.0 global
height String Specifies the height of the dashboard, in pixels. 34.0 global
hideOnError Boolean Controls whether or not users see a dashboard that has an error. When this attribute is set to true, if the dashboard has an error, it won’t appear on the page. When set to false, the dashboard appears but doesn’t show any data except the error. An error can occur when a user doesn't have access to the dashboard or it has been deleted. 34.0 global
openLinksInNewWindow Boolean If false, links to other dashboards will be opened in the same window. 34.0 global
rendered Boolean Specifies whether or not the component is rendered on the page. 34.0 global
showTitle Boolean If true, the dashboard’s title is included above the dashboard. If false, the dashboard appears without a title. 34.0 global
width String Specifies the width of the dashboard, in pixels or percent. Pixel values are simply the number of pixels, for example, 500. Percentage values specify the width of the containing HTML element and must include the percent sign, for example, 20%. 34.0 global