簡體   English   中英

SharePoint 2013 App不使用網站母版頁

[英]SharePoint 2013 App not using site master page

我創建了一個簡單的SharePoint 2013應用程序並進行了設置:

<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" 
         MasterPageFile="~masterurl/default.master" Language="C#" %>

但是,我有一個發布站點,其自定義母版頁設置為默認和自定義。 現在,當我轉到站點中的應用程序時,就會反映出該母版頁。 請注意,這是一個Office 365租戶。

也許您需要強行指定要使用的app#0 Web模板? 參見博客文章: http : //community.zevenseas.com/Blogs/Akhilesh/Lists/Posts/Post.aspx? ID=11

該博客文章引用了以下msdn文檔: http : //msdn.microsoft.com/zh-cn/library/fp179925.aspx#TypesOfSPComponentsInApps

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM