how to retrieve every contact fiels in my CRM plugin...

how to retrieve every contact fiels in my CRM plugin...

Post by UGF0 » Sat, 20 Dec 2008 22:29:16


Hi all,

I need to develop a plugin in the CRM. I registred it with the plugin
registration tool on create, update and delete the contact entity. When I
update the contact in the crm, I would like to retrieve every field that are
on the form (contact entinty) :firstname, lastname... however, the context
only contains the modificated fields ...

For example, in my code I have :
ICrmService crmService = context.CreateCrmService(true);

if (myContext.Properties.Contains("firstname"))
sFirstname = (string)myContext.Properties["firstname"];

I can retrieve "sFirstname " only if I change the field... :(

could someone help me regarding this?

Thx a lot !
 
 
 

how to retrieve every contact fiels in my CRM plugin...

Post by Mark Koval » Sun, 21 Dec 2008 00:49:45


When you use the plugin Tool Register

Select the Steps that you created and then" Register New Image"
Register the pre or post image or both.

By default all the fields are selected.



On Fri, 19 Dec 2008 05:29:16 -0800, Pat