Create/Modify Quicksteps using EWS?

Hello,

Is there a way to add or modify quicksteps for other users (global) using EWS and Powershell?

Or somebody know a other way to share quicksteps (global)?

(Server: Exchange_2010_SP1)

 

Thanks,

 

Marcel Adam

July 20th, 2011 3:05pm

Hi,

the QuickTips are stores in a hidden folder under the MsgFolderRoot. Each action is stored in an item in the folder associates items store of that folder.

You can use this code to get the configuration data of the first custom action:

private static readonly ExtendedPropertyDefinition PidTagRoamingXmlStream =
   new ExtendedPropertyDefinition(0x7C08, MapiPropertyType.Binary);

var folder = service.FindFolders(WellKnownFolderName.MsgFolderRoot,
                                new SearchFilter.IsEqualTo(FolderSchema.DisplayName, "Quick Step Settings"),
                                new FolderView(10)).First();
var itemId = folder.FindItems(new ItemView(10) {PropertySet = PropertySet.IdOnly, Traversal = ItemTraversal.Associated}).First().Id;
var item = Item.Bind(service, itemId,
                    new PropertySet(BasePropertySet.FirstClassProperties, PidTagRoamingXmlStream));
byte[] result;
if (item.TryGetProperty(PidTagRoamingXmlStream, out result))
{
   var action = Encoding.UTF8.GetString(result);
}

Note: Only custom actions are stored here - so you need to create at least one.

I have not tried to modify them yet.

Kind regards,
Henning
  "Marceliniho" wrote in message news:12422b69-10d9-4391-9265-3601df3d31ba@communitybridge.codeplex.com...

Hello,

Is there a way to add or modify quicksteps for other users (global) using EWS and Powershell?

Or somebody know a other way to share quicksteps (global)?

(Server: Exchange_2010_SP1)

Thanks,

Marcel Adam

Free Windows Admin Tool Kit Click here and download it now
July 20th, 2011 5:25pm

Here we go

http://pariswells.com/blog/code/use-exchange-ewspowershell-to-copy-outlook-quick-copy-aka-quick-step-settings

http://pariswells.com/blog/code/how-to-upload-and-insert-quick-copy-quick-step-settings-into-exchange

July 16th, 2015 10:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics