custom button on main grid using odata in mscrm 2011 RRS feed

  • Question

  • Dear all;

    as you know that using odata in javascript file wee need to have jquery normally on the form we can add the jquery on form load event but i have a custom button which is placed on the main grid whic is doing some update and retrive on it click event i wanna use odata query here i would i add the jquery for it in mscrm 2011

    Thursday, October 31, 2013 8:24 AM

All replies

  • Hi Anwar,

    Try adding a reference to your jquery directly in your web resource the button is hooked into:

    var JScriptWebResourceUrl = “../WebResources/new_JQuery”;
    var xmlHttp = new ActiveXObject(“Microsoft.XMLHTTP”);
    xmlHttp.open(“GET”, JScriptWebResourceUrl, false);

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful. Michael Mayo

    Friday, November 1, 2013 8:36 PM