Sunday, July 14, 2013

IE Developer Tools - java scripts - CRM 2011


Check out the below links, it may help you to write your java scripts better and would be make your users to feel better on CRM.

IE Developer Tools – Three Quick Tips

Using Internet Explorer Developer Tools With Dynamics CRM Javascript

Thursday, January 31, 2013

Update Rollup 12 for Microsoft Dynamics CRM 2011

Microsoft has released Update Rollup 12 for Microsoft Dynamics CRM 2011 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, Microsoft Dynamics CRM 2011 Language Packs, and Microsoft Dynamics CRM 2011 E-mail Router.


Rollup 12


*This update must be installed on a computer that is running Microsoft Dynamics CRM 2011 Update Rollup 6 or a later Microsoft Dynamics CRM 2011 update rollup.

To know more Details.....

Monday, January 21, 2013

Sent a CRM Report as Email Attachement : CRM 2011


Here is a Blog post of  +Andrii Butenko  Regarding  General approaches to generation of reports  which helps you to send a report as PDF attachment of  Email activity in CRM 2011.  He has Explained this step by step  in this blog post and it would be easy to follow and try it in your own !

I hope this help you ! 

Sunday, January 20, 2013

Create Windows Service in C#

Here is a blog link which explained to create a windows service in C# step by step !!

Aspdotnet-Suresh

Wednesday, December 19, 2012

Plugin to Retrieve Current Business unit - CRM 2011

public void Execute(IServiceProvider serviceProvider)
    {
        IPluginExecutionContext context = (IPluginExecutionContext)

serviceProvider.GetService(typeof(IPluginExecutionContext));

        //get initiating user (or impersonated user)
        Guid userId = context.InitiatingUserId; //or context.UserId

        //set up OrganizationService
        IOrganizationServiceFactory factory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));
        IOrganizationService service = factory.CreateOrganizationService(userId);

        //retrieve user record
        ColumnSet allFields = new ColumnSet() { AllColumns = true };
        Entity user = service.Retrieve("systemuser", userId, allFields);

        //get business unit lookup
        Guid businessUnitId = ((EntityReference)user.Attributes["businessunitid"]).Id;

        //optional
        Entity businessunit = service.Retrieve("businessunit", businessUnitId, allFields);
    }