locked
Create Message on UserQuery Entity in Plug-in? RRS feed

  • Question

  • Hi,

    I need to stop users from adding/modifying their local data groups in Outlook. I have written a plugin on update message of suerquery with qierytype=16 filter to stop users from modfiying their local data groups. But, how can i stop users from creating new local data groups as "Create Message" does not exist for "User Query" entity in Plug-in registration. Pleas ehelp.

    Thanks

     

    Monday, July 26, 2010 10:23 AM

Answers

All replies

  • Hi.

     

    This is unsupported, but possible. Execute following query against you Organization's DataBase and make iisreset.

    Update SdkMessageFilter 
    Set IsCustomProcessingStepAllowed = 1
    Where SdkMessageId in 
    (Select SdkMessageId From SdkMessage Where Name = 'Create')
    And PrimaryObjectTypeCode = 4230
    
    


    Truth is opened the prepared mind

    My blog (english)
    Мой блог (русскоязычный)
    Monday, July 26, 2010 10:50 AM
    Moderator
  • Thanks Andriy. Is there any other way to stop users from creating new local data groups in Outlook?
    Tuesday, July 27, 2010 6:52 AM
  • Try do remove rights to create Saved Views for users. Go to Roles - open role, open Core Records tab - remove permission to create records of type Saved View.
    Truth is opened the prepared mind

    My blog (english)
    Мой блог (русскоязычный)
    Tuesday, July 27, 2010 7:23 AM
    Moderator
  • It will stop users from creating any kind of views like Advanced find and all. I want them to stop creating Local Data Groups only. :(
    Wednesday, July 28, 2010 7:22 AM