getCurrentGroupPath - Methods - Reports API

Reports API Methods


Returns the group path currently shown when using the sessions summary by group and activity summary by group reports. The group paths represent a path through the current report's group hierarchy.

You would want to use this to get the current level of the information hierarchy being viewed by the report user.


var currentPath = reportsApp.getReport('my-summary-repo-id').getCurrentGroupPath();



Return value

Type array[string]

An array containing the group hierarchy path for this report, in descending order.

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.