Developing an Offline Plug-in

Chapter 5, gave some examples of creating and deploying plug-ins for Microsoft Dynamics CRM. In this section we expand on this by creating a simple plug-in that functions while running Microsoft Dynamics CRM for Outlook in offline mode.

Programming the Plug-in

We’ll develop the offline-capable plug-in in a similar manner as the other plug-ins we have developed, but we need to add logic to determine when the client computer is in offline mode. Our plug-in will update the subject of a Lead record when it is created. We will update the subject to the Lead’s last name followed by its first name and the current date. When you create plug-ins, you want to be careful that Microsoft Dynamics CRM doesn’t execute them twice (once ...

Get Programming Microsoft Dynamics® CRM 4.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.