I apologize for the topic, which has been widely discussed, but I'm missing some trivial detail.
The structure below was extracted from a list of telephone numbers, which I expected to come in a classic JSON format ( encapsulated between "{}'s ) but it seems rather like a list of several JSONs.
What would be the simplest/efficient approach to a large amount of data, encapsulate it and then create a single dictionary, or a list of "mini-dictionaries"?
Anyway, I can't see how to implement any of the options, could you help?
Thank you for the kind support, the above blocs worked like a charm.
Just to give some feedback ( and to provide additional info for those who are not fammiliar with these stuffs, like me ), with this approach it is possible to use the same structure to get back the user name from the telephone number, just replacing the "user" key with the "mobile" key.
To avoid opening another topic, I would like to ask if I can have some more help on this thread.
If I wanted to insert the following list of names extracted from the above structure ( copied below ) into a Picklist, which dictionary/list blocks should I use to assemble a structure like...?
You can inline any value block by right clicking on it and selecting "Inline Inputs". You can also collapse them either by the menu or double-clicking.
The code would not work anywhere else than here, because right in the first screen, a login authentication is required, whose database is located into a local network, at least for whle during development stage.
Is there another option, such as e.g trying to export the current screen and post here ?
@Ria_Das ,
The issue is not selecting a specific item, but rather to extract the whole user list
@ABG ,
A complementary information, what is working and what isnt:
I mean, I can select the user from the listPicker ( code not at final shape ) but cannot list all users from the list.
Your NOK section is trying to extract a list from a single piece of text (a Name) from a single dictionary selected by SelectionIndex from your list of dictionaries.
If you want a list of names, try the walk path dictionary block on the JSON Decode With Dictionaries output, with path
Just to give a feedback, now everything is working fine based on inputs of all yours, thanks once again; I didn't think it would be resolved so quickly, nice comunity.