Hi all,
I think I read somewhere that the CONTACTID for a CRM record is not immediately retrievable on creation of a CRM record within Creator...as per this example.
- contactinfo = { "Last Name" : input.Last_Name, "First Name" : input.First_Name, "Mobile" : input.Phone_Mobile, "Campaign Source" : "The Website", "Description" : input.How_did_you_heard_about_us, "Email" : input.Email_Id };
- CRMResp = zoho.crm.create("Contacts", contactinfo );
But I do notice, if exposing the contents of the string CRMRestp....in this way
info "CrmResp Return String is " + CRMResp;
That the CONTACTID field is actually contained in this string...shown here...
CrmResp Return String is
Record(s) added successfully
74826000000256011
2011-01-01 20:21:34
2011-01-01 20:21:34
I understand the number
74826000000256011 is the CONTACTID...clearly it is 'squashed up' against two date and time fields....
Is it possible or advisable to extract this value in a clean way?
If I can do this, it will save me having to do a searchRecords call to retrieve a CRM record that I have just created.
Thanks in advance for any assistance.
Regards,
Liam.