Enabling plug-in for Change Business Unit and Change Manager for systemuser entity.

Hi,

Normally we can’t attach plugin when we change business unit or the manager for a system user.

However we can do this in an unsupported manner,

The message for Change Business Unit is ‘setbusiness’.

Open your OrgName_MSCRM database and run the following query.

update sdkmessagefilterbase
set isCustomProcessingStepAllowed=1
where 
sdkmessageid=(select sdkmessageid from sdkmessagebase where name=’setbusiness’)
and
primaryObjectTypecode=’8′

And for Change Manager

update sdkmessagefilterbase
set isCustomProcessingStepAllowed=1
where 
sdkmessageid=(select sdkmessageid from sdkmessagebase where name=’setparent’)
and
primaryObjectTypecode=’8′

Bye..

 


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

3 thoughts on “Enabling plug-in for Change Business Unit and Change Manager for systemuser entity.”

  1. Use this query to enable for “RemoveParent” message which is the same as delete manager.

    update sdkmessagefilterbase
    set isCustomProcessingStepAllowed=1
    where
    sdkmessageid=(select sdkmessageid from sdkmessagebase where name=’RemoveParent’)
    and
    primaryObjectTypecode=’8′

    Like

  2. Great items from you, man. I have understand your stuff prior to and you are just too great. I really like what you’ve got right here, certainly like what you’re stating and the way in which wherein you assert it. You’re making it entertaining and you continue to take care of to keep it smart. I can not wait to read far more from you. That is really a wonderful web site.

    Like

  3. It does shows the message in Plug-in Registration Tool but it will not allow you to capture pre & post entity images. Is there way to capture these images for this message from plug-in registration tool.

    Thanks. Your sooner response will be appreciated.

    Moh

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s