Skip to content

getSelectedMembers

This function allows you to get the cells and UIDs of the current CMEMBERs that are type "DropDown" or "MemberList". These are returned as a JSON array.

Syntax

getSelectedMembers()

Arguments

There are no arguments to this method.

Return

This method returns the cells and UIDs as a JSON array.

[{ 
    cell: "R5C1"
    uid: "[Department].[Departments].&[12]"
},
{
    cell: "R5C3"
    uid: "[Account].[Accounts].&[2]"
}]

Examples

//
// Example 1 - Get all the currently selected members on the report
//
var members = report.api.getSelectedMembers();
Back to top