173
Views
6
Comments
How to get current page index for pagination issue

Hello folks,
I have few pages(i.e. 40 pages) in my OutSystems reactive website. Each page display 10 records. so there is 400 records.
if I open an entry to make a change, then click save it returns me to page 1. It should return me to the existing page you are on (so an entry on page 20, I would expect to return to page 20 not page 1).  I want to solve this issue.

2025-02-04 10-17-42
Shreelakshmi N S
Champion

Hi,

Whenever you open an entry and making a change, while returning back to the list screen the StartIndex value would get changed to the default value that you have set. To solve this you can create an input parameter "StartIndex" to the list screen and use that instead of the local variable. While returning back to the screen probably you can send the current row number so that you will be able to see that record when you land back to list screen. Try this and let me know if this helps :)

Regards,

Shree

UserImage.jpg
Harmish Sorathiya

First of fall, Thank you Shree to reply my post. 
Honestly, say I'm quite new in OutSystems so I'm not that used to with it. If you teach me outsystems that's really good for me. Teach me in the sense you can guide me How I can learn outsystems.

2025-02-04 10-17-42
Shreelakshmi N S
Champion

Hey,

First of all, Welcome to Outsystems!!

You can learn the basics of Outsystems by following the guided path.

You can first go through the Traditional Web Developer Course/Reactive Developer Course. Once you go through this link and do all the exercises that they provide you will be able to learn Outsystems easily and quickly as well.

For your question, I would do it and send you an oml for the reference.

Regards,

Shree

UserImage.jpg
Harmish Sorathiya

Thank you so much @Shreelakshmi Shivaramu 

2025-02-04 10-17-42
Shreelakshmi N S
Champion

Here is the OML file for your reference. 

Also check this link how it works.

Pagination.oml
2025-04-17 05-42-16
Ajit Kurane

Hi Harmish,

Hope you are doing well.

In addition to above answer , You can go through below document for pagination in outsystems.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Navigation/Pagination

For learning outsystems you can go through outsystems guided path and understand all the concepts and do handson practice as much so that you will be easily familiar with outsystems

https://www.outsystems.com/training/paths/?_gl=1*1m79677*_ga*OTE3OTcwNzAuMTY1Nzg4OTg5Mw..*_ga_ZD4DTMHWR2*MTY3NTI3MTUyMC4xNTguMS4xNjc1MjczNDY2LjYwLjAuMA..

All the best.

Thanks,

Ajit Kurane.

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