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?
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. ____________________________________________________________________________________________________________