[AC2] JSON Objects No Longer Working in Select and App Connect Arrays

Wappler Version: 6.7.0
Server Model: NodeJS
Hosting Type: Docker

Issue Description:

Previously, objects could be handled in the same way as arrays for iterations within Select and array variables in App Connect (AC1). However, this functionality seems to have been removed. Specifically, JSON objects are no longer working within Select and AC arrays in AC2.

Any reason why this feature was removed, are there any workarounds or plans to reinstate it?

Please explain your issue in more details and provide some example of what is not working.

Hi @Teodor ,

For example, like if i define below JSON Object from JDS or SC response data:

{
    "EUR": 1,
    "USD": 12
}

in select Data Source,

Am not able to use $key and $value
image

This used to work in AC1

Exactly yesterday tried to use data from api action as data source for a select and is not taking it on ac2, but it works on ac1..
It's related?

This should have been fixed in App Connect 2.0.9 with the last Wappler update. Can you check the dmxAppConnect.js file which version it is.

1 Like

Hi @patrick,
Was on 2.0.7, after upgrading to 2.0.9 can see that its working now.
Thanks :slightly_smiling_face:

True, updated and working :slight_smile:
Thanks!