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 ...