249
Views
8
Comments
Role of structure in aggregate source
Application Type
Reactive

Hello Everyone,


Can anyone specify any use case behind the use of structure as source in aggregate.


Regards

Vignesh



Screenshot 2021-10-20 121432.png
2021-10-17 12-36-16
Amreen Shaikh

Hi,

You can use structure for selecting the record of the table by addind Structure with value IsSelected and add to aggregate.


Regards,

Amreen

2023-04-22 06-16-51
Vignesh Maliyekkal

Hey there,

Thank you for your reply. Can you please elaborate that?


Regards,

Vignesh

UserImage.jpg
Johny William

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

2023-04-22 06-16-51
Vignesh Maliyekkal

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?

Regards,

Vignesh

2020-11-13 07-48-15
Khuong Truong

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

2023-04-22 06-16-51
Vignesh Maliyekkal

Hey Khuong ,

Thank you for your reply. This is the use case i want.

I'll try this

Regards,

Vignesh


2020-11-13 07-48-15
Khuong Truong

Hi Vignesh,

You're welcome!!!

You can play with the sample and after got idea, you can apply in your projects.

Cheers,

Khuong

2025-05-11 04-57-37
Somesh Renganathan

Hi Vignesh,

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.

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