cancel
Showing results for 
Search instead for 
Did you mean: 

how to change query path dynamically for dropdown in SSCE

Former Member
0 Kudos

Hello Everyone,

I am creating a dashborad using SSCE in MII  which is having two radio buttons and one drop down.

Dropdown display list has to be changed based on Radio button selection.

I tried as below:

Onselect Event of Radiobutton I am calling Dropdown OnInitialize Event where I want to change my querypath.

function fnOnLoad_Drop()

{

DropdownBox2_c1c1.setqueryPath="abcd/SSCE/Xcute_DropDown&Param.1=2";

DropdownBox2_c1c1.setkeyColumn = "Machine_Name";

DropdownBox2_c1c1.setvalueColumn = "Machine_Name";

}

MII version: 15.0 SP4

can anyone suggest me correct code.

Regards,

Hari.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Pls try the following.

DropdownBox3_c0c0.setQueryPath("abcd/SSCE/Xcute_DropDown");

DropdownBox3_c0c0.setKeyColumn("Machine_Name");

DropdownBox3_c0c0.setValueColumn("Machine_Name");

DropdownBox3_c0c0.addItemsByQuery({"Param.1":2});

Regards,

Sriram

Former Member
0 Kudos

Hi Sriram,

Throwing error message as ".addItemsByQuery" is not a function.

Where do I get the documentaion for this UI elements .

currently I am reffering  SAPUI5 SDK - Demo Kit

Any other help guide is there?

Regards,

Hari

Former Member
0 Kudos

I checked this in MII 15.0 SP 7 Patch 8.

Pls upgrade to this SP/Patch level.

Regards,

Sriram

Former Member
0 Kudos

Thanks Sriram.

I will try to update my SP level..

But is there any other way to achieve same?