Power Community

Power Community

How to Use Update Operations in Microsoft Dataverse or MSCRM

image

Implementation Steps:

As I mentioned in my Previous Blog you can able to follow how to use Dataverse Connection with Console Application.

In this Blog we will see how to use Update Operation in Dataverse

Copy and Paste the below Code for Update Operations

Entity updateAccount = new Entity("account");
updateAccount.Id = new Guid("e0385c7b-8b32-ee11-bdf4-002248d5d764");
updateAccount["name"]= "Updated from Console Application";
service.Update(updateAccount);

“account” –> Entity Logical Name

“e0385c7b-8b32-ee11-bdf4-002248d5d764” –> GUID of the Record to Update

“name” –> Field Name to Update

“Updated from Console Application” –> Values to be Updated

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

How to Enable Aggregation (preview) feature in Microsoft Power Apps?

The Power Apps grid control represents the next evolution of the Power Apps read-only grid control, allowing users to...

More Articles Like This

- Advertisement -spot_img