Tuesday, November 24, 2015

Update Grid Fetch in client side


Here is my example to update grid request in Client Site.

create new function and check if grid is already loaded

function UpdateGridOptions() {

    var myGrid = document.getElementById("myGridExample");

   
    if (myGrid == null || myGrid .readyState != "complete") {
     
        setTimeout('UpdateGridOptions()', 1000);
        return;
    }
    if (Xrm.Page.getAttribute('accountid').getValue() != null) {
        var accountId = Xrm.Page.getAttribute('accountid').getValue()[0].id;
        var fetchXml = GetFetchForGrid(accountId, Xrm.Page.data.entity.getId());
        //update grid with new fetchXml
        myGrid .control.SetParameter("fetchXml", fetchXml);
        //Refresh grid
        myGrid .control.refresh();

    }
}
Enjoy,
Rami Heleg

Saturday, July 18, 2015

Add server to existing CRM show error: Requested value ‘Geo’ was not found.

Hi,

when i tried add another server linked to the same CRM SERVER (existing CRM\DB) got the next message..



After investigate the problem the reason is CRM installation setup files was not the last version..

after download the latest version works perfect.

Enjoy,
Rami Heleg