Welcome to MSDN Blogs Sign in | Join | Help

Supported messages for plug-ins

Example t-sql style... There is an example in the SDK how to do this in C# code (Server\HowTo\CS\Entities\RetrieveSupportedMessages.cs)

In some scenarios you might not find your supported message but a workaround could be to set the Triggering Pipeline to Child Pipeline on the primary entity.

Use mydemo_MSCRM
Go

Select C.Name, A.SdkMessageFilterId, B.Name, A.PrimaryObjectTypeCode, A.IsCustomProcessingStepAllowed
From SdkMessageFilter as A
Inner join SdkMessage as B on A.SdkMessageId = B.SdkMessageId
Inner join MetadataSchema.Entity as C on A.PrimaryObjectTypeCode = C.ObjectTypeCode
And A.IsCustomProcessingStepAllowed = 1 Order by C.Name

Entity

Message

EntityCode

IsSupported

Account

Assign

1

1

Account

Delete

1

1

Account

GrantAccess

1

1

Account

Create

1

1

Account

ModifyAccess

1

1

Account

Retrieve

1

1

Account

RetrieveMultiple

1

1

Account

RetrievePrincipalAccess

1

1

Account

RetrieveSharedPrincipalsAndAccess

1

1

Account

RevokeAccess

1

1

Account

Merge

1

1

Account

SetState

1

1

Account

SetStateDynamicEntity

1

1

Account

Update

1

1

This posting is provided "AS IS" with no warranties, and confers no rights.

Published Sunday, April 20, 2008 10:50 PM by Jonas Deibe
Filed under:

Comments

# Microsoft news and tips » Supported messages for plug-ins

# re: Supported messages for plug-ins

Hej Jonas. Jag såg din post om 'Supported messages for plugins'. Jag har en fråga, vilket meddelande ska jag fånga om jag vill ändra email-adress i ett mail som skickas från crm 4.0. Jag har lyckats fixa det i alla scenario utom då man skickar mail via en snabbkampanj. Jag har testat att använda meddelandet BackgroundSend utan att lyckats. Några tips hur jag kan gå vidare?

tack på förhand

/kristoffer

Thursday, April 24, 2008 6:00 PM by Jonas Deibe

# re: Supported messages for plug-ins

I have just tested to register a plug-in as:

Message: Create

Primary Entity: Email

Trigger Pipeline: Child Pipeline

Execution: Pre Stage

When I'm running a quickcampaign my debugger halts when the email(s) are created. This might take a minute or two since quick campaign operation is async. Does this help?

Thursday, April 24, 2008 6:04 PM by Jonas Deibe

# Playing around with filters on queues using a plug-in (C#)

Quite common I get questions regarding modifications on queues. What can be changed in the main GUI and

Tuesday, October 28, 2008 1:12 PM by Jonas Diebe - Dynamics CRM, C#, JS
Anonymous comments are disabled
 
Page view tracker