cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-Selection iBrowser - MII 12.1

0 Kudos

Hi,

I'm having problems to set an item as selected in a multi-selection iBrowser.

The MII version is 12.1.5 Build(96).

I've already tried this methods below, but none of then have worked, and I got no javascript or java console errors...

document.browserName.getBrowserObject().setSelectedItemByIndex(1);

document.browserName.getBrowserObject().setSelectedItemByDatalinkValue(1);

document.browserName.getBrowserObject().setSelectedItemByDatalinkValue("1");

document.browserName.getBrowserObject().setSelectedItem("string");

document.browserName.setSelectedItemByIndex(1);

document.browserName.setSelectedItemByDatalinkValue(1);

document.browserName.setSelectedItemByDatalinkValue("1");

document.browserName.setSelectedItem("string");

Turning the display template as single selection works good.

Is this a version bug?

Thanks in advance

Elias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Elias,

This may be a version bug. I don't have a box with SP5 on it. I tried my example on SP6 and it worked fine. My browser was a list browser with multi selection mode turned on. I can select multiple items, click a button then the JS loops through and gets the details for the selected items.

There has been a bunch of patches for SP5. You may want to upgrade to the latest SP6 and the most recent patch.

Regards,

Kevin

0 Kudos

Thanks Kevin, It really was a version bug.

yesterday we updated for 12.1.6 (96) and the code works well...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Elias

Please check wheather you have selected Dropdown List Mode if yes then deselect it.

[http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm]

In help you can check iBrowser general properties.

Multiple Selection Mode

If you select this checkbox, multiple items can be selected in the browser. It does not apply when Dropdown List Mode is selected

Regards,

Manoj Bilthare

0 Kudos

Thanks Manoj, but I've already set this properties correctly, and when you select dropdown list mode, the script works fine, but I need a multi-selection iBrowser...