Display single Record from Zoho CRM in a form based on URL parameter

Display single Record from Zoho CRM in a form based on URL parameter

Hello everyone I need to do the following.

I created a form with 3 field .
Based on the URL parameter which has the contactIid I need to fetch the specific record and display it in a page.
I have to say I am a bit lost on how to do it.
So here are my questions:
1- What are the next steps in order to add this functionality after creating the form.
2- Where do I add the function that will fetch a single record from ZOHO Crm?
3- Is this code correct to fetch data from Zoho Creator to Zoho CRM?

  1. // Retrieve the contact ID from the URL parameters contactID = input.contactID; // Retrieve the contact record from the Contacts module contact = Contacts.getRecordByID(contactID); // Extract the first name and last name from the contact record firstName = contact.FirstName; lastName = contact.LastName; // Print the retrieved contact details info "Contact ID: " + contactID; info "First Name: " + firstName; info "Last Name: " + lastName;
I can confirm Zoho is well connected as I can see the records in a report.


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns 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