FetchXml concept not able to proceed non ie browsers RRS feed

  • Question

  • hi frnds,

          In my project am using fetchxml concept to retrieve datas from other entities.It works fine in ie browser.But when i use non ie browser its not working.

    Below is my code

    var opportunityid = Xrm.Page.data.entity.getId();
        if(opportunityid != null)
    var fetchXml =
    "<fetch mapping='logical'>" +
       "<entity name='stagedetails'>" +
          "<attribute name='stagedetailsid' />" +
          "<attribute name='dardvt_proceedforreassessment' />" +
          "<attribute name='pricelist' />" +
          "<filter>" +
             "<condition attribute='opportunity' operator='eq' value='" + opportunityid + "'  />" +  
             "<condition attribute='status' operator='eq' value='0' />" +  
          "</filter>" +
       "</entity>" +
    //so far i have no problem,.
    var fetchedstage = CrmServiceToolkit.Fetch(fetchXml);/am getting problem here.It saying undefined error

    Pls can any one give me the solution as soon as possible.Thanx in advance.

    Arun Kumar G

    Saturday, August 31, 2013 1:20 PM

All replies

  • Hi,

    Try to debug your JavaScript code and see where it is failing.

    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    Saturday, August 31, 2013 1:52 PM