cancel
Showing results for 
Search instead for 
Did you mean: 

getMemberlist is not working

john_coudriet
Participant
0 Kudos

I am doing the following:

DS_4.setvariableValueext("group",value);

ds_4.loaddatasource();

dropdown_1.setItems(ds_4.getmemberlist("customer",memberpresentation.external_key,memberdisplay.text,1000));

In the dropdown I  get all the customers instead of just the customers from the group in the variable selection.

When I add a crosstab for the dataset Ds_4, the data is restricted to the group.  I am not sure if I have a misunderstanding of how this works or missing something.  I am on version 1.6.

Any help is appreciated

John Coudriet

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

setVariable should always be called after loadDatasource, it should correct your issue.

If you're on a bex query (which I doubt), you want to check the acces to members and use posted values.

Answers (2)

Answers (2)

john_coudriet
Participant
0 Kudos

I needed to set the filter to use posted values.

Thanks Frank & Adlin for your help.

Former Member
0 Kudos

Hi John,

I would suggest you follow the below to achieve this

ds_4.loaddatasource();

ds_4.setvariablevalueext("group", value);

dropwdown_1.setItems(ds_4.getmemberlist("customer", memberpresentation.external_key,memberdisplay.text,1000);

if it doesn't work, try to use the function ds_4.setvariablevalue(group,value);

I hope it helps.

/ad