I have added this fuction as a web resource and then try to add it to the form I get this ERROR
function addMessageToOnSave() {
Xrm.Page.data.entity.addOnSave(displayMessage);
}
function displayMessage() {
alert("message");
}
The ERROR is: Invalid web resource type for form
What am I doing worng????
Thanks,
Jim M.