There is no official API I believe but nothing is impossible technically :)
You can query LSW_CLASS table with the BO name and get either XML_DATA/JSON_DATA, then you can parse the result to get the list of values.
------------------------------
Atanu Roy
Solution Architect
Salient Process
------------------------------
Original Message:
Sent: Fri May 13, 2022 08:21 AM
From: Laszlo Kertesz
Subject: How to get Selection type BO items in a NameValuePair list?
Yes, I know, but hoped that there is a built-in function to get the choices from the BO schema...
------------------------------
Laszlo
Original Message:
Sent: Fri May 13, 2022 08:09 AM
From: Atanu Roy
Subject: How to get Selection type BO items in a NameValuePair list?
Hi Laszlo,
First of all, selection type is a simple type not exactly a list of complex object.
In coach, the variable would appear as a dropdown when associated with a coach view.
I don't think it is possible to get the values in a NameValuePair list.
------------------------------
Atanu Roy
Solution Architect
Salient Process
Original Message:
Sent: Fri May 13, 2022 03:43 AM
From: Laszlo Kertesz
Subject: How to get Selection type BO items in a NameValuePair list?
Hi All,
Is there any trick to get the items of a Selection validation of a Selection type BO into a NameValuePair list at runtime? I mean this list:
Thx,
------------------------------
Laszlo
------------------------------