The daily Feed back Dynamic CRM

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Detect the changed attributes After a Form Save [InputParameters – Dynamic CRM]

 mars 20, 2017     No comments   

After the user clicks on the save button, the PreUpdate Plugin is executed to prepare all the necessary operation before the save method takes action; after that, the PostUpdate is here to do its job. So how can we detect or catch only the updated/changed attributes of the entity?
The answer of the previous question is really easy 😉 … You can visualize the changed attributes by using the :
var context = localContext.PluginExecutionContext;
var order = (Entity) context.InputParameters[“Target”];
So in every Request we will get a different entity, and this is normal because each request will update a different properties, so our entity will contain the data that is currently used in the current message.
The InputParameters property contains the data that is in the request message currently being processed by the event execution pipeline. [MSDN]
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Envoyer par e-mailBlogThis!Partager sur XPartager sur Facebook
Article plus récent Accueil

0 commentaires:

Enregistrer un commentaire

Popular Posts

  • How to display the button "See the records associated " on subgrid in CRM
    Usually any sub-grid has a button to show the associated records to the main records, us shown :                                T...
  • Useful javascript methods in CRM 2015
    Recently I have a list of useful javascript methods, You will find in the list below some of the methods that I used in my work: //Get th...
  • Filter a lookup field by javascript, Microsoft dynamics CRM 2015
    Today, i will talk about how to filter the result of a lookup field. Before we start note that you can filter your lookup field by the cus...

Recent Posts

Flag Counter

Unordered List

Pages

  • Accueil

Text Widget

Blog Archive

  • ▼  2017 (4)
    • ►  avril (2)
    • ▼  mars (2)
      • How to display the button "See the records associa...
      • Detect the changed attributes After a Form Save [I...

Rechercher dans ce blog

Fourni par Blogger.

Signaler un abus

Useful javascript methods in CRM 2015

Recently I have a list of useful javascript methods, You will find in the list below some of the methods that I used in my work: //Get th...

Sample Text

Copyright © The daily Feed back Dynamic CRM | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By blogger Templates