What?
So this is an article with some common snippets of code that use the InvokeConnector and do things we can't do in shortcode.
List CRM Users (ActiveUsers)
Note that this is somewhat superseded ...
... :GET
connection:"joels_connector"
];
if(!isnull(r_Response.get("fields")))
{
// loop through every field to find the customer's timezone one
for each r_Field in r_Response.get("fields")
{
if(r_Field.get("api_name") ...
... Friday at 08:00 in the morning and will create a task if time logged is too low and will remind via Popup at about 4pm (16:00). You will need a connector (I've called mine joel_timesheet) and I've given ...
... when locking it down for security:
Login to ZohoCRM > Setup > Developer Space > Connections > Zoho OAuth
Give your connection a name, I'm calling mine "Joels Connector"
Select the Scopes: ZohoWriter.documentEditor.ALL ...
... CRM but I want to transform/translate one of the column values into the target
How?
So this is my plan:
Setup a connector to CRM with the scopes ZohoCRM.coql.READ and ZohoCRM.modules.ALL
Build ...
... = zoho.creator.createRecord(v_AppOwner,v_AppName,v_FormName,m_CreateRecord,m_Blank,"joels_connector");
/*
// Email yourself as a test but remember to remove this before going Live.
sendmail
[
fro ...
... snippet of code, I am getting the Zoho CRM record owner, looping through all salespersons in Zoho Books, and retrieving the salesperson_id. Also I have a connector to ZohoBooks called "joel_books". The ...
...
= zoho.bookings.getAvailableSlots(, , , );
Set up your connector with the following scope:
zohobookings.data.CREATE
Get the workspaces:
//
// get workspaces
r_WorkspaceResults ...
... > Connections)
Click on "Add Connection" and click on "Zoho OAuth"
Give a lower connection name, eg. "joels_connector"
Select the scope ZohoProjects.timesheets.ALL as a minimum (or CREATE/READ):
...
... // using a Zoho Oauth connection with scope (ZohoCRM.modules.ALL)
r_DownloadFile = invokeurl
[
url :v_CrmEndpointUrl
type :GET
connection:"my_connector"
...
... access/refresh tokens using OAuth2.0. Usually used with an invokeUrl:
response = invokeUrl
[
url: "https://books.zoho.com/api/v3/estimates?organization_id=12346789"
type: GET
connection: "joelconnector" ...
... it "myconnector".
Ensure that as a minimum, the scope ZohoBooks.salesorders.CREATE is ticked.
Click on "Authorize"
Read the notice saying Creator would like access to bla bla bla and click on "Accept" ...
... it this way apparently. So setup a Zoho Oauth connector (see the end of this article if you don't know how), I'm going to call mine myZohoConnector, with the scope:
ZohoCRM.settings.fields.READ
Then ...
... 37: The HTTP method PUT is not allowed for the requested resource
This was an issue where I was trying to push a Zoho Creator record into Zoho Inventory via an invokeURL with API v2 rather than a connector. ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.