DS
Hi,
Please help me. How to get a list of all groups in Database? Run reports from the database)
groups = ArisData.getActiveDatabase().GroupList(ArisData.getSelectedGroups()[0]); - It only works when you run the reports from the group, need for a database. Sorry for my bad english. Thank you in advance
for(var i=0; i<p_aDatabase1.length; i++) {
var groups =ArisData.getActiveDatabase().GroupList(?????) // list group
for(var j=0;j<groups.length;j++){
p_output.TableRow()
// print(p_output, getGroupName(gr_list[j]))
}
}
Hi,
Try with this simple code :
var allGroups = ArisData.getSelectedDatabases()[0].RootGroup().Childs(true);
Best Regards,
Romain Tricarico from BPMap