Hello Exchange developers,
I successfully added several custom categories into MasterCategoryList via Exchange Web Services API. I used a sample:
var list = MasterCategoryList.Bind(service); list.Categories.Add( new Category { Name = "Vacation", Color = CategoryColor.DarkMaroon, KeyboardShortcut = CategoryKeyboardShortcut.CtrlF10, Id = Guid.NewGuid()
});
But after some time I noticed my custom categories went away for some reason. It happened after I created a category manually inside MS Outlook 2013. I found out despite I assigned "Guid.NewGuid()" to the "Id" property after some time MS Exchange nullify it ("0000-0000-..."). Does anybody solve such a problem? Thanks for your attention.