What?
This is a quick article to template some code to me on sorting a map variable in Zoho Deluge, specifically Zoho Creator.
Why?
I do this a lot but in the following example, I want to sort ...
... for inserting a row into a subform:
// declare a variable to hold the collection of rows
= Collection();
// declaring the row
= .();
// assigning values for various subform fields in the ...
... to work on the CRM record:
// assuming I have a creator form called "myForm"
// that the ID of the record is the value of the variable "myRecordID"
// that a subform exists in the form called "Attachments"
// ...
What?
This is a quick article to demonstrate how to compare two datetime values with the timezone specified.
Why?
A client's ZohoCRM had a different timezone setting than the user a script would ...
... // NOTE: convert this to a JSON Array
r_RecordUpdate = invokeUrl
[
url :v_EndPoint
type :PUT
headers: m_Header
parameters:m_Data.toString()
];
// NOTE: convert parameters variable to a string
...
... and the next page has a table which is of variable length. Fine when the table was short and didn't have many rows. But the client will pick up the phone to you when the table has too many rows to fit ...
... logic and highlight any changes you may need to make.
1. First: the variables are in arrays
Well mostly. Simply because we'll be working with JSON data and this encodes/decodes easily into PHP ...
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 ...
... being this script.
Complete the global variables at the beginning of the code specific to your app and the rest should work...
// specific to this app
$CLIENT_ID = ''; // expecting *.apps.googleusercontent.com
$CLIENT_SECRET ...
... and how long ago was the last token created.
How?
So almost pure JS. I'm working out the seconds remaining and seconds elapsed in PHP first then passing these as two variables to the below code ...
... 'text/csv');
// send request to the server
xhr.send();
// return contents of target file to JS variable
var my_csv_file_contents = xhr.responseText;
// ...
... as a local variable.
-- Specify v2.5.x admin ID and v3.4.x admin ID
SET @v25_admin_id=42; -- Set this to the ID number of the user in your Joomla 2.5.x
SET @v25_admin_alias='Webmaster'; -- Set ...
... text translation.- Date Uploaded: Wed, 2nd Nov 2011 1.5.3.4 - Fixed Bug: More variables now defined- Date Uploaded: Fri, 30th Sep 2011 1.5.3.3 - Fixed Bug: Undefined variables now defined- Date Uploaded: ...
... Date Uploaded: Thu, 28th Oct 2010 1.2.2 - Corrected PHP code to work in earlier PHP versions.
- Fixed bug: could not see Hebrew text.
- Fixed bug: refer to $fulltext variable which is now obsolete.- ...
Applies to:
TravelPort Universal API
PHP 4 or 5
cURL
What?
An article on how to resolve errors and setup a standard ping request using the TravelPort Universal API. This is to be achieved using ...
... PUT, DELETE');
// open connection
$ch = curl_init();
// set the cURL options
curl_setopt($ch, CURLOPT_URL, $api_url); // where to send the variables to
curl_setopt($ch, ...
... to third-party in XML format: (because that's the format they accept)
Note that in the following example, the XML is sent as a url encoded value paired with a key (posted variables must be key1=value1&key2=value2...)
...
... to refer to each tool using their full path unless you add it to the PATH environment variable:
This allows you to use keytool from any folder:
Open a command prompt
Type CD C:\Program Files\Java ...
... the example below.
Add a variable (preferably to the scope of the package) called "SourceExtractFile" and give it the data type "String". Set the Value to the full path and the first file including ...
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.