cancel
Showing results for 
Search instead for 
Did you mean: 

Checkbox Group Tick Values On Startup

Former Member
0 Kudos
988

I’d appreciate assistance with ticking all values of a checkbox group on startup.

In On Startup I have:


FUNDING_CHECKBOXGROUP.setSelectedValues("_FaZ_QXlLEeaWeqtXjRsKAw");

Is this script correct?

I’m binding the Checkbox group as follows

There are only two values in the dimension, which display as follows:

Design Studio 1.6 SP1

Source: Universe

Thanks in advance.

Greg

View Entire Topic
MustafaBensan
SAP Champion
SAP Champion
0 Kudos

Hi Greg,

You need to specify an array of values for the dimension members you would like selected, as follows:

FUNDING_CHECKBOXGROUP.setSelectedValues(["<FEDERAL key>","<NT Key>"])

For a Universe, since the key and text are the same, I expect the exact script should be as follows:

FUNDING_CHECKBOXGROUP.setSelectedValues(["FEDERAL","NT"])

Regards,

Mustafa.

0 Kudos

Hello Mustafa,

I want to change the checkbox group items on a button click.

There are five different buttons in a grid and a checkbox in another grid.

Based on the button click i want to change the items in the checkbox group , like i need to change the member assigned to it from the same data set

I tried using ,

CHECKBOXGROUP_1.setItems(DS_2.getMemberList("DS:2,DIM:id_29", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT_KEY, 200)).

But its not working so i had to make diff checkbox panels for each button and hide show based on click.

Can you let me know as in why Checkbox.setitems is not working?

Thank You