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.
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.