398
Views
5
Comments
Solved
How to limit the shown items of a list in Reactive Web App

In Reactive Web App I have a list on my home screen which indicates the full items of the list. However I want to show a list with the last five items added. I have sorted the list by CreatedOn attribute. But I couldn't filter the list as I wanted. Is there a way to do that?

Thanks in advance,

Elif


UserImage.jpg
Accelance Partners
Solution

Hi @Elif Gul Kalayci 

1. Sort aggregate DEC by Id
2. Set max records to Number you want 

The aggregate list you are selecting on your display screen have one property called Max Records you can set it to 5. I am attaching screenshot for your reference.


Let me know if you have any doubt


Thanks,

Shriyash

2022-12-06 07-40-33
Elif Kalayci

It worked. Thanks a lot!

UserImage.jpg
Accelance Partners
2021-03-25 06-15-00
Meetali Gupta

Hi @Elif Gul Kalayci 

To show the last 5 records in your list, you need to do the following in your aggregate:

  1. Sort by ID desc
  2. Set the MaxRecord property of aggregate as 5.

Thanks,

Meetali

2022-12-06 07-40-33
Elif Kalayci

Thanks for your help!

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