Tag Info

New answers tagged


What you did was create a masterpage in the appweb. If you want it in the host web, you'll have to copy the masterpage to the host web's gallery. If you have a provider hosted app, this code would work to do so: using (var clientContext = TokenHelper.GetClientContextWithContextToken(hostWeb, contextToken, Request.Url.Authority)) { var site = ...


Try with following module code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="MasterPage" Url="_catalogs/masterpage"> <File Path="MasterPage\Test.master" Url="Test.master" Type="GhostableInLibrary" Level="Published"/> </Module> </Elements> I ...

Top 50 recent answers are included