Sub Tab
A SubTab is a child of a Dashboard and is used as a container for content on a Dashboard. The SubTab objects contain the name and uuid of the SubTab, as well as information about which reports are placed on that SubTab.
Property Reference
name
Returns
String.
Description
Returns the display name of the SubTab, as it would be seen in the Yellowfin UI.
uuid
Returns
String
Description
Returns the UUID of the SubTab.
Function Reference
isCanvas()
Returns
Boolean
Description
Returns true if this SubTab is a canvas tab.
getReports()
Returns
Array[Object]
Description
Returns the ReportUUIDs and EntityUUIDs of every report that is present on this SubTab.
If there are no reports on this SubTab, an empty array will be returned.
Examples
This function can be used to search for all instances of a particular report that might be on the dashboard.
let reportToFind = 'af67e527-81d3-47fc-81ce-dfc506a61dd2'; |
Event Reference
There are no events that the SubTab triggers.