Hi Guyz,
I have a requirement to implement.
On click of custom button i am opening attachment form. After uploading one document i am clicking on Attach button, and i am getting some error.
Can any one help me with this. My requirement is to user should be able to submit doc on click of custom button. Thank you for your help.
My code is:
function openAttachmentForm() {
debugger;
//var parameters = {};
//parameters["testid"] = Xrm.Page.data.entity.getId();
//parameters["new_name"] = Xrm.Page.getAttribute("new_name").getValue();
recordIDwithBraces = Xrm.Page.data.entity.getId();
var recordID = recordIDwithBraces.substring(1, 37);
Xrm.Utility.openEntityForm("activitymimeattachment", null, null);
}
Error I am getting is
File Could Not Be Uploaded
Invalid Argument.
|
*This post is locked for comments