... = "applicable_products.txt";
f_CSVFile = l_CsvLines.toString(zoho.encryption.urlDecode("%0A")).toFile(v_CSVFilename);
f_CSVFile.setParamName("file");
Get current file name (optional)
To check ...
... from a public domain, no user wall. The key here which the official documentation is missing is the .setParamName() but for those who have spent time to find this function, they'll already know this.
...
What?
This is a not-so-quick article that queries an eBay order and creates the relevant ZohoInventory item, contact, sales order, package slip, shipment order, invoice, payment records...
Why? ...
... if this doesn't work, enable one of the following 2 lines
//r_File.setParamName("attachment");
//r_File.setParamName("file");
r_File.setFileName(v_DocumentName);
r_Attach = zoho.crm.attachFile("Deals",v_DealID,r_File);
info ...
... type :GET
connection:"zcrm"
];
f_FileRequest.setParamName("file");
f_FileRequest.setFileName(r_QuoteDetails.get("Subject") + ".pdf");
//
// get a greeting name
...
... set the data type
r_DownloadedPhoto.setParamName("image");
//
// build up request to Zoho
m_Params = Map();
m_Params.put("image",r_DownloadedPhoto);
//
// generate endpoint
v_Url = "https://books.zoho.eu/api/v3/items/" ...
... + "/image?organization_id=" + v_BooksOrgID + "";
r_File = invokeurl
[
url :v_Url
type :GET
connection:"joel_zoho"
];
r_File.setParamName("file");
//
// store this file in the field "Creator ...
... set the param name to file (this is important)
r_CreatorPhoto.setParamName("file");
//
// upload the photo to CRM (and prevent workflows from running)
v_Endpoint2 = "https://www.zohoapis.com/crm/v2/Products/" ...
... certain bits out. Just getting the syntax right and using the . setParamName is key.
Let's make it even more interesting: I'm going to use a subform with the file upload field type so our record can ...
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.