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.

Comments (4)

  1. jonadei says:

    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

  2. jonadei says:

    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?

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