Updating a Multiselect Lookup Field
I'm currently trying to update a multiselect lookup field in a record, but it's giving me the error {"code":3001,"data":{"ID":"3268991000041877010"},"error":["Invalid column value for Staff"]} . I've tried the list method and the collection method. The lookup field I'm calling from JobSheet and inputting are also using the same records/form. Here is the code I have so far:
- id1 = rec.Job_Sheet1.ID;
- info id1;
- addStaff = List();
- eventParams = Map();
- otherParams = Map();
- for each employee in input.Staff
- {
- addStaff.add(employee);
- }
- staffList = addStaff.toListString();
- eventParams.put("Staff",staffList);
- info eventParams;
- updateStaff = zoho.creator.updateRecord
- ("joshuabetty","atelier","All_Job_Sheets1", id1, eventParams, otherParams," creator");
- info updateStaff;
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.