Skip to Content
Feb 22, 2016 at 10:07 AM

Reuse values from Dropdown item and pass to another


Dear all,

We are running Design studio on BIP 4.1 SP2. I have a design studio application with 4 data sources and I am using parallel query execution/variable merge. The 4 datasources are referring to BEx queries.

I am using the tile-template, in which I provide some small chart/KPIs already at the beginning. After clicking on one of the 4 tiles, the respective detailed view is getting opened. Each detailed views have two Dropdown items.

On each tile event “OnClick” I have placed the respective setSelectedPageIndex as well as the statement for filling the dropdown items, e.g. for view 1:

  • DROPDOWN_1.setItems(DS_1.getMemberList("ZSALESAREA", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 30, "All"));
  • DROPDOWN_2.setItems(DS_1.getMemberList("ZPROD_CAT", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 30, "All"));

Due to the fact that in all detail views I use the same two characteristics, I want to use the getMemberList only two times (instead of eight times) and pass the values from Dropdown item 1 and 2 into the respective other dropdown items without putting again the values from the other DS again.

Is something like this possible? Maybe in background process?

  • DROPDOWN_DS_3.setItems(values from DROPDOWN_1);
  • DROPDOWN_DS_4.setItems(values from DROPDOWN_2);

Any ideas would be great. Thank you in advance.

Best regards,

Stefanos from Munich/Germany