Answered by:
How to create a plug-in for when user sign in on Outlook

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 PMModerator -
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.comYou will find:Bulk Delete Launcher View Layout replicator ISV.Config Manager Form Javascript Manager Assembly Recovery And 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 AMModeratorAll 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 PMModerator -
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.comYou will find:Bulk Delete Launcher View Layout replicator ISV.Config Manager Form Javascript Manager Assembly Recovery And 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 AMModerator