Filter subgrid javascript in ms crm 2011 online 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

    • Edited by Reddy A Monday, July 29, 2013 6:14 AM
    Monday, July 29, 2013 6:13 AM

All replies

  • Please do not post the same question multiple times. 

    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