Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Filter subgrid javascript in ms crm 2011 online

$
0
0

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);
     return;
 }
 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' />"+ 
  "</entity>"+
  "</fetch>";
 relatedProduct.control.SetParameter("fetchXml", fetchXml);
 relatedProduct.control.refresh(); 
}

but it showing error to me that in below screen

am not understanding where the problem exactly..


ms crm



Viewing all articles
Browse latest Browse all 10280

Latest Images

Trending Articles



Latest Images