Dear visitor, despite the COVID-19 outbreak, our team continues operating at full speed.

Also, here is the form where you can apply for a special discount and we will contact you with possible options. Stay safe and continue achieving your business goals.

Fill the form
Get Free Trial
Get Free Trial

Callback handler passed to getMembers() not being called

Nate Anderson asked on November 19, 2018

I’m using 2.4, and trying to use getMembers to  access hierarchy information. I’m using an OLAP data source. The example contained in the documentation does not work for me:
I tried using that code directly (with the name of my hierarchy), and while the callback works as expected if I define a function in the getMembers call, using the specified syntax does not invoke the callback.
So the following is not working for me: 

flexmonster.getMembers(currentReportHierarchy, '', 'onGetMembers');

function onGetMembers(members) {
for (var i = 0; i < members.length; i++) {

Were there changes made to this function between 2.4 and 2.6?

1 answer

Dmytro Zvazhii Flexmonster November 20, 2018

Hello Nate,
Thank you for writing. Please check the example here:
Please note that no changes were made to this method between 2.4 and 2.6.
Let us know in case of any other question.

Please login or Register to Submit Answer