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?
- // 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.