Sunday, February 19, 2017

Easy SF Pagination Tool

Easy SF Pagination Tool


Hi All,
As most of you must know that Salesforce recently introduced "OFFSET" keyword in SOQL. This feature makes implementation of pagination very easy and effective. Now there is no need to query and store all the records in memory. So it is truly a light weight. So here i have implemented one pagination tool here which is made on "Contact" object. If you want to make it for your custom object, then it is very easy to modify code to work with any object.





You can see demo here for this implementation.
http://labsprojects-developer-edition.ap1.force.com/sf_Pagination

Here is the link for download the package.
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t90000000QEP0

Let me know if you think some kind of enhancement in this.

Thanks
Aslam Bari

Available link for download