locked
How to create a plug-in for when user sign in on Outlook RRS feed

  • Question

  • Hi,

    Is it possible to create a plug-in before user sign in on Outlook.  I would like below:

    using System;
    using Microsoft.Crm.Sdk;
    using Microsoft.Crm.SdkTypeProxy;

    namespace MyPlugins
    {
    public class UserSignOnHandler: IPlugin
    {
    public void Execute(IPluginExecutionContext context)
    {
    // Clean session data
    }
    }
    }

    Tuesday, March 23, 2010 3:54 PM

Answers

  • I think you need to create an MS outlook addin that performs your desired operation on startup.
    MSCRM Bing'd - http://bingsoft.wordpress.com
    • Marked as answer by s3403 Thursday, March 25, 2010 7:07 PM
    Tuesday, March 23, 2010 10:20 PM
    Moderator
  • I agree with RhettClinton since connecting to the Outlook plugin is no more that connecting to the CRM server itself...

    But you could maybe try to intercept following messages (context.Message):

    • PostOutlookSync
    • PostSync
    • PrepareOutlookSync
    • PrepareSync
    • GetOutlookSyncData
    • GetSyncData

    Maybe they could be executed when connecting using Outlook CRM plugin


    My blog : http://mscrmtools.blogspot.com
    You will find:
    Bulk Delete LauncherView Layout replicator
    ISV.Config Manager Form Javascript Manager
    Assembly RecoveryAnd others (use tool tag on my blog)
    • Marked as answer by s3403 Thursday, March 25, 2010 7:07 PM
    Wednesday, March 24, 2010 7:05 AM
    Moderator

All replies

  • I think you need to create an MS outlook addin that performs your desired operation on startup.
    MSCRM Bing'd - http://bingsoft.wordpress.com
    • Marked as answer by s3403 Thursday, March 25, 2010 7:07 PM
    Tuesday, March 23, 2010 10:20 PM
    Moderator
  • I agree with RhettClinton since connecting to the Outlook plugin is no more that connecting to the CRM server itself...

    But you could maybe try to intercept following messages (context.Message):

    • PostOutlookSync
    • PostSync
    • PrepareOutlookSync
    • PrepareSync
    • GetOutlookSyncData
    • GetSyncData

    Maybe they could be executed when connecting using Outlook CRM plugin


    My blog : http://mscrmtools.blogspot.com
    You will find:
    Bulk Delete LauncherView Layout replicator
    ISV.Config Manager Form Javascript Manager
    Assembly RecoveryAnd others (use tool tag on my blog)
    • Marked as answer by s3403 Thursday, March 25, 2010 7:07 PM
    Wednesday, March 24, 2010 7:05 AM
    Moderator