Hello Everyone,
Can anyone specify any use case behind the use of structure as source in aggregate.
Regards
Vignesh
Hi,
You can use structure for selecting the record of the table by addind Structure with value IsSelected and add to aggregate.
Regards,
Amreen
Hey there,
Thank you for your reply. Can you please elaborate that?
Hello Vignesh,Structure can be used to store temporary data in the attributes, We can define any default value in our structure that we want to use on our screen, structure data changes on the widget we use but cannot be store in DB, Once we refresh the screen all the information stored in structure will be gone.I hope this helps,Thanks & Regards,Tousif Khan
Hey Tousif ,
I tried what you said , But this can be done by using variable. So why we need to add structure as source?
Can you please elaborate it?
Hi Vignesh,
Adding to above explanations, you can take a look at a built-in sample by adding a new screen and choose Bulk Actions template.
The sample using an additional BulkActions structure.
Hope it helps you get the idea.
Cheers,
Khuong
Hey Khuong ,
Thank you for your reply. This is the use case i want.
I'll try this
You're welcome!!!
You can play with the sample and after got idea, you can apply in your projects.
This blog post would answer your query and clear your doubts.
https://www.itup.io/blog-post/why-should-i-use-a-structure-as-source-of-an-aggregate-if-it-doesnt-have-any-data
Thanks.