File Upload in Creator's Subfrom
Hello Sir/Madam,
Here is a Problem......... Scenario: In CRM One Custom Module (Payments) have one File Upload Field now we have to Upload that File into Creator's Custom Form (Documents) have one Subform (Documents) in Document Upload Field using Deluge Code so here is my Code:
//-------on Custom Module---------
cid = deal_data.get("Creator_ID");
//info cid;
otherParams = Map();
response = zoho.creator.createRecord("app_name","form_name","Documents",{"Deal":cid},otherParams,"creator");
info response;
newid = response.get("data").get("ID");
info newid;
//----------Signed Payment Receipt------------
piiresp = invokeurl
[
url :"https://creator.zoho.in/api/v2/app_name/form_name/report/All_Documents/" + newid + "/Document_upload/upload"
type :POST
files:file
connection:"creator"
];
info piiresp;
Also here is the Error:
- {"code":2945,"description":"UPLOAD_RULE_NOT_CONFIGURED"}
I Want Sample Code for this problem because till this moment not found any solution for CRM to Creator's Subform in File Upload using Deluge Code also want to tell you that Upload File one at a time.