Getting Related Records

Getting Related Records

This guide will help you with the following:
  1. Syntax
  2. Example
  3. Response Format
You can fetch related information (Notes, Tasks, Contacts, etc.) about a record in an Extension or Vertical Solution using the zoho.crm.getRelatedRecords() deluge task.

Syntax

  1. <Response> = zoho.crm.getRelatedRecords(<module String>,<parentModuleName String>,<recordId Long>,<page Long>,<perPage Long>);
where,
<Response> is the task response returned as a List.
Parameters

Example

Fetch the notes associated with a given Lead record with ID 3388926000000310005.
  1. response = zoho.crm.getRelatedRecords("Notes","Leads",3388926000000310005,1,3);
  2. info response;
Here Leads is the parentModuleName and Notes is the related module.

Response Format

  1. {"Owner":{"name":"ZohoTest","id":"3388926000000166021"},"Modified_Time":
  2. "2018-10-24T13:47:52+05:30","$attachments":null,"Created_Time":
  3. "2018-10-24T13:47:52+05:30","Parent_Id":{"name":"Mary John",
  4. "id":"3388926000000310005"},"$editable":true,"$se_module":"Leads",
  5. "Modified_By":{"name":"ZohoDemo","id":"3388926000000166021"},"$size":null,
  6. "$voice_note":false,"id":"3388926000000311004","Created_By":{"name":"ZohoTest",
  7. "id":"3388926000000166021"},"Note_Title":null,"Note_Content":"This is a sample note"}

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Customization - Adding Custom Related Lists

                                                                                                        This guide will help you with the following: Add Custom Related Lists Create Custom Functions  Example  Edit Custom Related Lists   Delete Custom Related Lists  Each record created by your subscribers in your vertical CRM has the option to associate ...
                                                                                                      • Related Lists and Web tabs

                                                                                                        The guide will help you with the following: 1. Related lists Add a custom related list  Create a custom function with Deluge Script  Edit a custom related list  Delete a custom related list  2. Web tabs  Create a web tab  Delete a web tab Related ...
                                                                                                      • Data Access - Delete records

                                                                                                        This guide you with the following: Overview Syntax Things to keep in mind Examples Overview The delete record deluge task deletes a form's records which meet a given criteria. The criteria is mandatory. Syntax delete from ...
                                                                                                      • Building a Google Drive - Related List Widget

                                                                                                        Embedding a Google Drive widget inside Zoho CRM as a Related list allows a user to accomplish three tasks, Fetch files from Google Drive and show them as a related list in the record's detail page in CRM. Upload any document from Zoho CRM to a Google ...
                                                                                                      • Miscellaneous topics related to Deluge Tasks

                                                                                                        This guide will help you with the following: 1. Cancel Delete 2. App language identification 3. getFieldNames 4. getFieldValue 5. Set Variable 6. Set field value 7. Call function 8. return deluge task 9. Success message 10. Cancel submit 1. Cancel ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources