Unable to set the checkbox value
Hi,
By using php sdk, I was trying to set the CRM checkbox value like:
- $record1->addKeyValue('Demo', true);
but the error I got was something like: Type error, expected type is array, given type was boolean. So I changed it to
- $record1->addKeyValue('Demo', [true]);
but the error this time was
- Warning: get_class() expects parameter 1 to be object, bool given
The line where it throws an exception is
- $requestObject = $convertInstance->formRequest($this->request, get_class($this->request), null, null)
When I debug it, getClass has the value "com\zoho\crm\api\record\BodyWrapper" but the whole line fails.
Can you please help me out?
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
-
-
-
-
-
-
-
-
-
Sticky Posts
How to Add Users to your Organization in ZohoMail?
A better clarity so you can create other users to start using Zoho Mail. You can directly Add Users from the Control Panel to your Organization. You can invite users with the existing email address. If the person (user) already uses ZohoCRM, then you can import users from Zoho CRM. You can also import them using a .csv file. (if you are planning to add them in Bulk) In this topic, We will be discussing on how to Add and Invite users only. The Import options are self explanatory. ____________________________________________________________________________________________________________
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.