javascript error in filter subgrid online ms crm 2011 RRS feed

  • Question

  • am creating a filter subgrid to display an records 

    in online ms crm 2011


    function ComponentSubGrid() {  

        var relatedProduct = document.getElementById("Version");
    if (relatedProduct ==null || relatedProduct.readyState != "complete")
         //The subgrid hasn't loaded, wait 1 second and then try again
         setTimeout('ComponentSubGrid()', 1000);
     var fetchXml="<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>"+
     "<entity name='new_ver'>"+
      "<attribute name='new_verid' />"+ 
      "<attribute name='new_vername' />"+ 
      "<attribute name='createdon' />"+ 
      "<order attribute='new_vername' descending='false' />"+ 
     relatedProduct.control.SetParameter("fetchXml", fetchXml);

    but it showing error to me that in below screen

    am not understanding where the problem exactly..

    ms crm

    ms crm

    Monday, July 29, 2013 6:50 AM

All replies

  • please do not post duplicate threads. Multiple threads means people waste time suggesting things that may have already been suggested on your other threads.

    If my response helped you find your answer please show your thanks by taking the time to "Mark As Answer" and "Vote As Helpful".

    Twitter LinkedIn Facebook Blog Magnetism

    Monday, July 29, 2013 9:40 AM