Udostępnij za pośrednictwem


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

  • Anonymous
    April 20, 2008
    PingBack from http://microsoftnews.askpcdoc.com/?p=3370

  • Anonymous
    April 24, 2008
    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

  • Anonymous
    April 24, 2008
    The comment has been removed

  • Anonymous
    October 28, 2008
    Quite common I get questions regarding modifications on queues. What can be changed in the main GUI and