Skip to Content
0

Object value selector or dropdown list box populated by ABSL?

Jun 22, 2017 at 06:13 PM

78

avatar image

Hi Gurus,

Is it possible to populate Object value selector control or dropdown list with result of RESTapi response with json/or parsed values from json.

If yes, is there some tutorial?

In Custom BO I have:

node gradList [0,n]{
element listID		:ID;
element	grad		:LANGUAGEINDEPENDENT_EXTENDED_Text; 
		}

this values are populated on action (following code is part of loop which extracts RESP api response, and result is more than one entry) :

var n = this.GetFirst().gradList.Create();
i=i+1;
n.listID =i.ToString () ;
n.grad= firstElementString;

After that in UI designer I create dropdown list box and bind it to

gradList.grad

The result is that I in dropdown list box receive only the last element, all others are lost :-(

Please help where is the problem, or please suggest Is there some other way (eg.OVS...)

br,

Zoran Galijanic

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers