...
So going through the forums you may find the following example:
string padWithLeadingZeros(int finalStringLength, int startingNumber)
{
return leftpad(toString(input.startingNumber), input.finalStringLength).replaceAll(" ...
What?
This is an article documenting how to remove the block on changes to a system field in ZohoCRM.
Why?
Our use-case today is that a customer wanted to map the Postal Code or Zip from a Lead ...
... on each row and then the campaigns as columns.
What we want:
Contact Name Lead Source Campaign 1 Campaign 2 Campaign 3
---------------- --------------- -------------- -------------- ...
...
Similar to how to create a call or task, but with some variation:
//
// initialize
m_ScheduleMeeting = Map();
//
// specify parent module
m_ScheduleMeeting.put("$se_module","Leads");
//
// all ...
...
Why?
There were several alternatives we considered beforehand which still didn't fit the requirement: A client's first-line agents would have a lead record with the status "New Lead". The client ...
... = "ABCDEFabcdef0123456789ABCDEFabcdef";
//
// set this to the authtoken value obtained earlier
v_Auth_Token = "1234567890aaaabbbbccccddddeeeeff";
//
// get lead details
v_Type = "Leads";
if(!isnull(r_CallDetails.get("$se_module")))
{
v_Type ...
What?
An article with a quick snippet of code which builds up the address from a Lead record to geocode into latitude and longitude coordinates to feed a third-party API which returns a timezone.
...
... figure out so I don't spend so long the next time I have to do it. The use-case scenario here is that when an appointment is made for a Lead in a booking system, we want a task or call in CRM to popup ...
... timezone, add 10 minutes, re-assemble it in a format that CRM likes, and update the field:
//
// parse date into yyyy-MM-dd (using subString - reliable)
v_LeadCreatedDate = r_LeadDetails.get("Created_Time").subString(0,4) ...
... Reactivate any workflows you deactivated in step 1.
Sample Code
Consider the following standalone function which loops through every contact and deletes the duplicate lead (if a lead exists with ...
... folder.
Index File: put here the root html file along with the path (do not forget the leading slash or your widget will error)
Click on "Create" (bottom-right of your screen)
Now go to a Creator ...
... The specific form was for "Leads" which contained a subform with a product line item list. If I run this code, I would get the error:
Expecting ZC_SUBFORM_250 expression found COLLECTION expression
Another ...
... "")
; loop until there are no more double spaces
while InStr( v_NewName, " ")
v_NewName := StrReplace( v_NewName, " ", " ")
; trim any leading/trailing spaces ...
What?
This is a quick article on how to generate a 5 letter code from several functions: one which returns 5 randomly selected characters and another two which convert a number to 5 letters.
Why? ...
... so long as the link does not portray MYCOMPANY, its associates, or their products or services in a false, misleading, derogatory, or otherwise offensive matter. You may not use any MYCOMPANY logo or other ...
What?
This is an article explaining the code needed to write a PHP script which generates an access token for a service account which in turn is used to list files in a team's Google Drive.
This is ...
What?
This is an article documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet ...
What?
A quick article on how to trim in MySQL along with getting rid of any leading or trailing tab characters.
Why?
I use MS Excel for organizing data and then converting to MySQL commands. ...
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.