Search Posts

SharePoint “Menu Item Custom Action” – Host VS App

If you are trying to add an menu to SharePoint Online, make sure you chosee “Host Web” instead of “App Web”.

If you chose wrongly, there is no way to convert it back in Visual Studio. You have to manually edit MenuItemCustomAction1\SharePointProjectItem.spdata , see below. You have to change the line from the top one to the bottom one.

After you edited it, restart visual studio is a must

Leave a Reply

Your email address will not be published. Required fields are marked *