780
Views
7
Comments
Solved
How to append List.?
Question

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.?

2024-09-12 02-43-38
Deepsagar Dubey
Solution

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,

Thanks
Deep

2024-09-12 02-43-38
Deepsagar Dubey

Hi @Keshav Raghav 

If your issue has been solved then mark the correct answer as solution,

Thanks
Deep

UserImage.jpg
Keshav Raghav
2024-09-12 02-43-38
Deepsagar Dubey
UserImage.jpg
Natasha Crockett

Replying to Keshav Raghav's comment on 25 Apr 2023 05:32:28   I am glad to hear that. And If you don't know how to write an essay, go to this https://writinguniverse.com/free-essay-examples/cyber-security/ website. Here you may get complete tips on how to write an essay for a college assignment. 

I am glad to hear that.

2023-04-06 11-24-23
Paulo Zacarias

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

2021-09-06 15-09-53
Dorine Boudry
 
MVP

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

2024-09-12 02-43-38
Deepsagar Dubey
Solution

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,

Thanks
Deep

2024-09-12 02-43-38
Deepsagar Dubey

Hi @Keshav Raghav 

If your issue has been solved then mark the correct answer as solution,

Thanks
Deep

UserImage.jpg
Keshav Raghav
2024-09-12 02-43-38
Deepsagar Dubey
UserImage.jpg
Natasha Crockett

Replying to Keshav Raghav's comment on 25 Apr 2023 05:32:28   I am glad to hear that. And If you don't know how to write an essay, go to this https://writinguniverse.com/free-essay-examples/cyber-security/ website. Here you may get complete tips on how to write an essay for a college assignment. 

I am glad to hear that.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.