I have a custom structure,
I have declare a variable of list type of this structure, on my screen.
Now, I have set this variable to the dropdown.
For adding data to this dropdown I have to use list append client action multiple times.
Is there any way, we can reduce this client action list append to any single client action. I have to hardcore these values I know this, but is there any other way around.?
Hi @Keshav Raghav
You can do it in this way,
You can see i have a Student list and it has Name and age attribute, Then in ListAppendAll action i need to assign multiple elements in the list,
So for this when you click on + icon (i have marked right before SourceList), you will see below screen,
I hope it'll help you,
ThanksDeep
If your issue has been solved then mark the correct answer as solution,
Yes, it is resolved. Thanks
Happy to help you 😊
I am glad to hear that.
Hi Keshav,
Have you considered the creation of a static entity to store these values?
This way it won't be hardcoded and you can use a source directly (static entity), avoiding all these list append logic.
Regards,
PZ
Hi @Keshav Raghav ,
If you want to keep with the hardcoded list, but are just looking for a more compact flow, use ListAppendAll instead of multiple ListAppend.
If you are looking to move away from hardcoding this, the most obvious choice would be to create a static entity with the possible values, then you can just use an aggregate to fill your dropdown list, but that will cost you in application objects.
Dorine