Trying to pull a owner name (and other data) from CRM in Creator

Trying to pull a owner name (and other data) from CRM in Creator

Hello guys !

With the help of this great community I was able to pull some data from CRM "Contacts" into my Creator Form.
As you can see below, it's working like a charm but I now need help to be able to fetch only the name of the owner (my "commercial" field below) :




Here is my code :

  1. contact_map = Map();
    contact_map = zoho.crm.getRecordById("Contacts",input.Client.tolong());
    input.Phone_Number = contact_map.get("Phone");
    input.Email = contact_map.get("Email");
    input.Owner = contact_map.get("Owner");
    input.Full_Name = contact_map.get("Full_Name");
    input.Phone_Number1 = contact_map.get("Phone_Number1");
    input.Mailing_Street = contact_map.get("Mailing_Street");
    input.Mailing_Zip = contact_map.get("Mailing_Zip");
    input.Mailing_City = contact_map.get("Mailing_City");
I tried something like "Owner.name" or "Owner"."name"..  but it's not working.

Here is the "commercial" field :


Thanks a lot in advance for your help !
Fred


      • Sticky Posts

      • Share your success story

        We would like to hear from our passionate users how much Zoho Creator has changed the way you work and benefited you. If you would like to share your story to us and be featured as a proud user of Zoho Creator, then this is for you. Fill up the form below and if you want to be included in a case study, we will get in touch with you to get further details. So what are you waiting for? Tell us your story. Charles
      • Merge and Store v1 API depreciation

        Hi Zoho Writer users, The Merge and Store v1 API allows you to store the merged document in Zoho WorkDrive. The response of this API will be returned with the document's ID only after the merge is complete. In Deluge, the maximum timeout for operation
      • Zoho Creator Developer's Conference 2017 !!!

        We welcome all our Creator Developers! You're invited to join us for our annual Zoholics Developers conference August 29th–31st! This is your chance to get training and guidance on Zoho Creator from our most knowledgeable custom app builders.       Zoholics Developers is a three-day event where you'll participate in interactive workshops to hone your app-building skills, get questions answered by Creator experts with personal one-on-one sessions, and connect with other Creator developers from around