53 Saturday, May 28, 2016 |
Msxrmtools Publisher
Publisher at Msxrmtools

Microsoft Dynamics CRM 2011: Using the Audit tool

Exploring the Microsoft Dynamics CRM 2011 auditing capabilities. How to enable and disable auditing. Tracking changes made to CRM records.

Early Bound Programming in Microsoft Dynamics CRM

Early-Bound: In early-bound programming type-checking and binding happens at compile time.

Early Bound Programming in Microsoft Dynamics CRM

In Microsoft Dynamic CRM, the code generation tool (CrmSvcUtil, available in SDK) generates strongly-typed classes for early-bound programming. These classes can be used in applications that use Microsoft Dynamics CRM as well as plug-ins and custom workflow activities.

Generated classes include all entities, attributes and relationships. 

Each time you make customizations to your system, you must regenerate these classes.  

Advantages of early-bound programming

  • All type references are checked at compile time.
  • Much faster development as compared to late-bound.
  • Intellisense support in Visual Studio.

Disadvantages of early-bound programming 

  • Early-bound classes needs to be regenerated, each time you customize your system.
  • Slightly slow performance as compared to late-bound.

Early-bound performance

Early-bound classes are wrapper to late-bound classes because of this serialization costs increases as these entities are converted to late bound types during transmission over the network.

This performance difference is extremely small and can be neglected.

Microsoft Dynamics CRM 2011 - Pricing and Licensing

Customer Driven Updates in CRM Online 2015 Update 1

With Microsoft Dynamics CRM 2015 Update 1 we have made some exciting improvements to customer-driven updates. Watch this video to see the new and improved capabilities for managing updates. For more information, visit http://www.microsoft.com/en-us/dynamics/crm-customer-center/default.aspx and http://go.microsoft.com/fwlink/?LinkId=394323

[Job] - Accenture: Microsoft Dynamics CRM, India

Accenture

Company: Accenture

Location: Hyderabad

- Job description

"Role:- Developer
Years of experience:- 3 to 4 years
 
Must to have:-
• Plug-in - custom workflow activities, ribbon customizations, Silverlight, CRM Developer Toolkit
• Exposure to any development framework
• Should be able to create and debug Plugins - Should be able to create and debug Custom Workflow activities
• Should be able to do Ribbon customization - Understanding of Solutions - Understanding of the security in Dynamics CRM
• Should have understanding of using Developer Toolkit for Dynamics CRM
 
Good to have:
• Strong design and development skills
• Ability to design and develop flows
• Effectively communicates to internal and external stake-holders"

- Basic qualifications

Full Time Graduation

What's New in CRM 2011 Session 2: Goal Metrics and Goals

Microsoft Dynamics CRM Mobility for Blackberry

Watch this 8 minute demonstration to learn how you could use Microsoft Dynamics CRM, Microsoft Outlook, IE and your mobile device to improve your field sales productivity.

What is difference between early and late binding?

Key difference between early and late binding involves type conversion. Whereas early binding provides compile-time checking of all types so that no implicit casts occur, late binding checks types only when the object is created or an action is performed on the type. The Entity class requires types to be explicitly specified to prevent implicit casts.

Retrieve a Record In Microsoft Dynamics CRM Using Early Bound

Retrieve Method

To retrieve a single record use IOrganizationService.Retrieve(String, Guid, ColumnSetmethod.

Parameters

Name Type Comment
entityName String Logical name of entity
id Guid Guid of record to retrieve 
columnSet Microsoft.Xrm.Sdk.Query.ColumnSet Columns to retrieve 

Output

Microsoft.Xrm.Sdk.Entity

This method is implemented by OrganizationService class and OrganizationServiceContext generated in previous chapter.

Using Early Bound

All classes in early-bound entity classes (generated in earlier chapter) has a EntityLogicalName property which returns logical name of entity. 

Account.EntityLogicalName

Use this as first parameter in IOrganizationService.Retrieve method. Using Entity.EntityLogicalName avoids any typo error in entity logical name. 

IOrganizationService.Retrieve method returns single Entity record and can be casted to respective strongly type class to have intellisense in Visual Studio.

(Account)_service.Retrieve(Account.EntityLogicalName, _accountId, new ColumnSet(true));

Following example demonstrates how to retrieve a account record in Microsoft Dynamics CRM using Early Bound

C#

using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using System;

namespace Msxrmtools
{
class Program
{
static void Main(string[] args)
{
//"connection" = connection string name from config file"
IOrganizationService _service = new OrganizationService("connection");

//assumed guid of existing account record
Guid _accountId = new Guid("9ec0b0ec-d6c3-4b8d-bd75-435723b49f84");

Account account = (Account)_service.Retrieve(Account.EntityLogicalName, _accountId, new ColumnSet(true));

Console.Write(account.Name);
Console.Write(account.Revenue);
}
}
}

Business Process in Microsoft Dynamics CRM 2015

What's New in CRM 2011: Dynamic Marketing Lists

CRM 2011 - a how-to video on creating and managing dynamic marketing lists in the marketing module of CRM.

Color Grid for Dynamics 365

Color Form for Dynamics 365