locked
How to cerate a Button on a CRM2011 Form RRS feed

  • Question

  • 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.

    Thursday, March 24, 2011 6:42 PM

All replies