I spent a lot of time to try editing CustomSiteAction.xml and CustomEditingMenu.xml in _catalogs\masterpage\Editing Menu\ folder programmatically. I need to add custom console actions to these files but I can't use manual deployment.
I tried to use a lot of ways:
1) SP Object model. If I update the file any additional publishing menu items of site editing menu disappears and no way to get it back
2) WebDav. If I rewrite these files, results are same, all customizations disappear. If I update the file, nothing changes
3) web service _vti_bin/_vti_aut/author.dll I didn't get it working.
Did anybody get it working? Please help to figure it out.
View Complete Post