... on filename changes, I run this bit of code to get the internal and current file name:
//
// get original document file (optional) - you need your own record ID here
v_ZC_DocumentRecordID = 1234567890123456789;
c_ExistingDocument ...
... photo to CRM:
// init
v_AppOwner = "joel_the_awesomest";
v_AppName = "joels_app";
v_ReportName = "My_Report";
// specify your CRM record ID for this product
v_CrmProductID = 1234567890123456789;
// ...
...
You would think the following would work:
r_Details = myForm[ID == 1234567890123456789];
r_Details.Account = input.Account;
But it will return the above error.
You need to do the following:
r_Details ...
... response somewhat similar to the following:
// this is sample JSON with replaced IDs
"My_CRM_File": [
{
"extn": "pdf",
"is_Preview_Available": true,
"download_Url": "/crm/org12345678901/specific/ViewAttachment?fileId=aaaabbbbccccddddeeeeffff1111222233334&module=CustomModule1&parentId=123456789012345678&creatorId=987654321098765432&id=234567890123456789&name=dummy1.pdf&downLoadMode=default",
...
...
id is the Creator ID of the record.
dataMap is the map() to post.
connectionLinkName is the connection link obtained previously (as a string).
For example:
v_RecordID = "1234567890123456789".toLong();
m_Params ...
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.