How do you add pagination to a Zoho Creator Page with zoho.crm.searchRecords

How do you add pagination to a Zoho Creator Page with zoho.crm.searchRecords

I have the following Deluge query which is correctly searching my records of up to 20 records per page, up to 5 page:


l_Pages = {1,2,3,4,5};
m_SearchParam = Map();
m_SearchParam.put("sort_by","Registration_Date");
m_SearchParam.put("sort_order","desc");
for each  v_Page in l_Pages
{
registrationResellerSection = zoho.crm.searchRecords("Registrations","(Referring_Reseller:equals:" + resellerDetails.Reseller_CRM_ID + ")",v_Page,20,m_SearchParam);
for each  reg in registrationResellerSection
{
                  // stuff here
}
}

However, it is displaying all results in one last (100 records, being 20 records x 5 pages).


I've Googled and wandered through YouTube but I can't find how to actually make it display on pages.

Many thanks in advance for any tips or guidance!


Brenden

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts





                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner









                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方