Page 1 of 1

Choices URL for Select Box

Posted: Wed Aug 05, 2020 7:40 am
by k2R400
Hello,

The JSON expected to fill a SelectBox expects "success" with a boolean (true or false)

Code: Select all

{
     "success":true,
     "response":[
          {"text":"Dishes and Cups", "value":"18"},
          {"text":"Soaps", "value":"14"}
     ]
}
We would like to use IWS (integrated WebService Server) to generate this WS instead of the "Universal Handler" (however which is a very good tool).
As you know, IWS does not support booleans true/false, so it cannot be used to generate the JSON stream expected by ProfoundUI.

Would you have an alternative, for example the possibility of sending {"success": 1} which would be interpreted by a {"success": true} ?
Hoping IBM will evolve IWS....

Regards