Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Victor Salvalagio Pereira
21
Views
6
Comments
Pagination using a record list session variable
Question
Hi,
I have a screen with a Table Record using a record list from session.
The pagination is not working. What do i have to do to make it works?
thanks.
Gonçalo Martins
Staff
Hi Victor,
First of all, you should avoid the usage of record lists in a Session Variable because it's very bad for performance.
Take a look at these documents:
Development Best Practices
OutSystems Platform - Performance Best Practices
OutSystems Platform - Performance Top 10 Best Practices
I'm sure you'll find a better way to implement your issue ;)
Kind Regards,
Gonçalo Martins
Victor Salvalagio Pereira
Gonçalo,
I have to use a record list in session.
My screen has a master-detail that can't be persisted to the database every time I add a new record.
That's why i keep insession, and the user click in "save" to save all of the records.
Gonçalo Martins
Staff
Hi Victor,
Since you're saying that you need to work with the session variable, can you give more information about your implementation or upload an oml with an example with the way you're implementing it..
Kind Regards,
Gonçalo Martins
1 reply
02 Jan 2013
Show thread
Hide thread
Victor Salvalagio Pereira
Gonçalo Martins wrote
:
Hi Victor,
Since you're saying that you need to work with the session variable, can you give more information about your implementation or upload an oml with an example with the way you're implementing it..
Kind Regards,
Gonçalo Martins
Gonçalo
I'm uploading an oml with an example.
Thanks.
SessionPagination.oml
Paulo Garrudo
Staff
Victor,
please replace the start index value of your table record, it should be
List_Navigation_GetStartIndex(TableRecords1.Id, True)
and not
0.
Regards,
Paulo Garrudo
Victor Salvalagio Pereira
Paulo,
It worked. Thanks
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...