Answered by:
Update a remote database upon creating a custom record in MS CRM

Question
-
I need to Update a remote database upon creating a custom record in MS CRM..any solution using plugins so that i can call the custom web service from that plugin?Tuesday, November 16, 2010 9:18 PM
Answers
-
you have two options
1. you will get all the value in entity property itself.
2. you can register PostImage.
for images you can refer
http://icrmcolin.blogspot.com/2010/01/retrieving-pre-and-post-data-in-mscrm.html
Mahain : My Dynamics CRM Blog- Proposed as answer by HIMBAPModerator Tuesday, November 16, 2010 9:49 PM
- Marked as answer by MSCRMrocks Wednesday, November 17, 2010 6:59 AM
Tuesday, November 16, 2010 9:49 PMModerator
All replies
-
you can use webservice in plugin,and can send data are you facing some issue ???
Mahain : My Dynamics CRM BlogTuesday, November 16, 2010 9:23 PMModerator -
any samples please im new to MS CRM development ....how to pass the values to that custom webservice from plugin?
for example i create a plugin and i want to call a custom web service where i need to send the newly created lead information to that webservice so that data will be updated in remote database...
Tuesday, November 16, 2010 9:28 PM -
Hi,
First you need to get information about custom webservice, what are the different webmethos are there in that webservice,what are the parameters and they types. if you have webservice url try to access that webservice through browser. after that you can add reference of those webservice in your plugin assembly project and call respective methods.
Mahain : My Dynamics CRM Blog- Proposed as answer by HIMBAPModerator Tuesday, November 16, 2010 9:49 PM
Tuesday, November 16, 2010 9:33 PMModerator -
the problem is can we get the values of the record created from the plugin after the execution of the plugin?
how to retrieve the details of the newly created record from the plugin for example a post create plugin is fired i need to get the details of the record that was created into that plugin to pass those values to the custom webservice as parameters./
Tuesday, November 16, 2010 9:38 PM -
you have two options
1. you will get all the value in entity property itself.
2. you can register PostImage.
for images you can refer
http://icrmcolin.blogspot.com/2010/01/retrieving-pre-and-post-data-in-mscrm.html
Mahain : My Dynamics CRM Blog- Proposed as answer by HIMBAPModerator Tuesday, November 16, 2010 9:49 PM
- Marked as answer by MSCRMrocks Wednesday, November 17, 2010 6:59 AM
Tuesday, November 16, 2010 9:49 PMModerator -
Hii Mahendar Pal i will try that..thanks a lot.Wednesday, November 17, 2010 6:59 AM