Answered by:
Create Message on UserQuery Entity in Plug-in?

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
-
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)
Мой блог (русскоязычный)- Proposed as answer by Neil BensonMVP, Moderator Tuesday, July 27, 2010 7:47 AM
- Marked as answer by DavidJennawayMVP, Moderator Thursday, August 12, 2010 8:07 PM
Monday, July 26, 2010 10:50 AMModerator
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)
Мой блог (русскоязычный)- Proposed as answer by Neil BensonMVP, Moderator Tuesday, July 27, 2010 7:47 AM
- Marked as answer by DavidJennawayMVP, Moderator Thursday, August 12, 2010 8:07 PM
Monday, July 26, 2010 10:50 AMModerator -
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 AMModerator -
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