الخميس، 4 يوليو 2013

Refresh Subgrid in MS CRM 2011

function SubGridRefresh() {
    var grid = document.getElementById("subgrid1");
    if (!grid) {
        setTimeout("SubGridRefresh();", 1000);
        return;
    }
    else {
        grid.control.add_onRefresh(AlertFun);
    }
}

function AlertFun() {
    alert('SubGrid has been Refreshed');
}

السبت، 22 يونيو 2013

CRM 2011: The specified user is either disabled or is not a member of any business unit

Check whether the system administrator account was disabled in database. If yes, enable it in database.
  1. Backup the orgname_MSCRM and MSCRM_Config.
  2. Find the systemuserid for system admin in systemuserbase table.
  3. Find the system admin in systemuserbase and resourcebase, if isdisabled=True, set isdisabled=Flase.
  4. Find the Business Unit the user belongs to in businessunitbase table. if isdisabled=True, set isdisabled=Flase. 

then Restart machine.

الثلاثاء، 11 يونيو 2013

CRM 2011:Business Management error the user id associated with the current record is not valid

To Solve this error:
1- Create new user in AD (Test User)
2- From CRM Setting=>Administration=>Users Replace the user login with the new test user login.

3- Save and Login to CRM with that user.
4- Again replace new test user login with old user login (Reverse).then the problem will solve.

السبت، 8 يونيو 2013

How to Repeat Table(Tablix) Header on each Page in SSRS 2008

 To Repeat Table(Tablix) Header on each Page in SSRS 2008 do the following:
1- Click the first cell in table header.




2- From the Row Group click Static and go to properties.


















3- From properties window set the (KeepWithGroup=After) and (RepeatOnNewPage=true).