Source : PP.Prx.Report;
The Source property determines tab source.
Property value can be set from JSON or using the setSource method, property value is returned by the getSource method.
To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). Open the Advanced Analytics tab in the report and enter the following code in the console:
// Get tool ribbon ribbon = reportBox.getRibbonView(); // Get the Advanced Analytics tab analyticCat = ribbon.getAnalyticsCategory(); // Get tab source analyticCat.getSource(); // -> PP.Prx.Report {_Controls: Object, _IsDataChanged: false, _AutoRecalc: true, _ForceShowControls: false, _Selection: Object…}
After executing the example the report is obtained, on which the tab is based.
See also: