280 Saturday, May 21, 2016 |
Suresh Maurya
Dynamics CRM Consultant at IBM

Update Record In Microsoft Dynamics CRM Using Early Bound

Update Method

To update record use IOrganizationService.Update(entitymethod.


Name Type Comment
entity Microsoft.Xrm.Sdk.Entity Entity object to update



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

Using Early Bound

To update object assign updated values to the fields of object.

//retrieve account to update
Account account = (Account)_service.Retrieve(Account.EntityLogicalName, _accountId, new ColumnSet(true));

//update the values
account.Name = "Update Name";
account.Revenue = new Money(500000);

You can get the object to update multiple ways for ex: using retrieve operation.

Object to update must have Guid in the Id field, when we retrieve object it is already present.

Now pass prepared object to the Update method.

 //pass object to update method


Following example demonstarates how to update record in Microsoft Dynamics CRM using early bound


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");

//retrieve account to update
Account account = (Account)_service.Retrieve(Account.EntityLogicalName, _accountId, new ColumnSet(true));

//update the values
account.Name = "Update Name";
account.Revenue = new Money(500000);

//pass object to update method


Flexible Goal Management in Microsoft Dynamics CRM 2011

See how a businesses can define key performance and business indicators to track and measure progress against any organizational goal or metric.

Microsoft Dynamics CRM 2011: Customisation part 1

A look at the new drag & drop feature in Dynamics CRM 2011.

CRM 2011 Dialogs, Data Types and Recursion

It starts with a (very!) brief introduction to CRM 2011 dialog processes, but the most important bit is how to create recursive processes with the Link Child Dialog step.

Microsoft Dynamics CRM Roadmap.

Learn more about microsoft dynamics crm roadmap.


Microsoft Dynamics Marketing 2015 Update 1 New Features and Enhancements Training

CRM Portals By Microsoft Now Released

The Dynamics CRM Online 2016 Spring Wave is shaping up to be a one of the largest updates to CRM with the inclusion of new application extensions, Project Service, Field Service and CRM Portals. Adoxio is particularly thrilled to see the launch of CRM Portals. Having created the Adxstudio portals product before its sale to Microsoft, we at Adoxio are excited to see how the product has evolved since Microsoft took it over.

The Microsoft team, comprised of several former Adxstudio colleagues, has been hard at work integrating the Adxstudio Portals product directly into the CRM Online experience. The new CRM Portal add-ons available in the Spring Wave are specifically tied with this update to CRM Online, and will not be available to the on premise version of CRM until later this fall. CRM on premise customers can continue to use the latest version of Adxstudio Portals compatible with their CRM version until the self-hosted version of CRM Portals is made available.

For installation and management of CRM Portals, the new Portal add-on management has been integrated directly into the CRM Online Administration Center under the new Applications section. The Applications section makes it easy to add CRM Portals to any CRM Online organization through a completely wizard driven process, no downloads or installers required. Through this process you can enable any of the new CRM Portal templates available as part of the Spring Wave, these include: Custom Portal (also called Starter or Basic), Community Portal, Customer Portal, Partner Portal and an all new Employee Self-Service Portal.

CRM Online Administration Center - Applications

CRM Portals available in the Spring Wave is limited to the Software as a Service (SaaS) version of product and as such the deployment of CRM solutions, portal site data and the portal code are all done as part of the application add-on enablement process. This really removes a lot of the previous barriers there was to self-starting your installation and portal deployment, with a couple of clicks now you can get CRM Portals up and running with a ready to use scalable public facing site.

CRM Portals add-ons are priced with a monthly cost of $500 (USD) per portal per month with the Software as a Service offering. Pricing is based on the number of page views on your portal with the base including 1 million page views and additional purchasable with add-ons at $50 for each additional million page views. Through the application add-on management you may enable multiple portals of various templates from within the same CRM organization. Customers that are using CRM on premise or CRM Online looking at purchasing Adxstudio Portals for self-hosting functionality the licensing costs will remain as they are today. To learn more, further enablement details will be available in a future blog post, Enabling CRM Portal Add-Ons in CRM Online 2016 Spring Wave.

There are some important things to note about this release of CRM Portals.

  • Upgrades from an existing Adxstudio Portals release to CRM Portals v8.1 and running both within the same organization are not currently supported. It is expected that a migration path for existing customers will be available in the fall release of CRM Portals. Until then if you do have an installation of Adxstudio in a CRM Online 2016 Spring Wave organization you can upgrade to the latest version of Adxstudio Portals v7 from the Adxstudio Community site.
  • With CRM Portals, a portal is limited to one language. To support multiple languages you may enable multiple Portal add-ons in any of the 38 support languages. All CRM languages except right to left languages are supported in the Spring Update, and additional Portal add-on costs are required for each language. Existing versions of Adxstudio Portals continue to support multiple languages within the same portal.
  • CRM Portals is currently limited to a Software as a Service (SaaS) solution in the Spring Update and hosting of portal code is done using Azure App Services. Configuration of the App Services cannot be directly accessed but will include all the capabilities of Azure with automatic scaling and redundant failover across multiple data center regions. As this is a SaaS solution the portal source code will not be available for modification with Visual Studio which may limit the ability to customize the portal for specific enterprise needs. All customization must be done using the CRM customizer and CRM Portals configuration options like entity forms, entity lists, liquid templating and the many other native functions of CRM Portals.

MS CRM Many-to-Many Relationships of the "Native" Kind : CRM 4

Media Planning & Buying with Microsoft Dynamics Marketing

Microsoft Dynamics CRM 2013 Customization New Features - Image Data Type

Quote Management : Quote Status

A Quote can have one of the following status:

  • Draft
    • Initially when quote is created it is in draft state.
    • Quotes must be in a Draft state to be changed.
  • Active
    • When the quote is ready to be presented to a customer, it can be activated.
    • Active quotes become read-only.
  • Revised
    • When a quote is revised, its status value changes back to Draft,
    • and the Revision ID field is automatically incremented.

Color Grid for Dynamics 365

Color Form for Dynamics 365