简体   繁体   English

如何在线更改Sharepoint中的VersionDiff.aspx母版页?

[英]How to change the master-page of VersionDiff.aspx in sharepoint online?

I have designed a custom master page in Sharepoint online if I select my custom master page in system master page section(Site Settings->Site Master Page Settings->Specify a system master page), the master page will be applied to all the SharePoint inbuilt pages. 如果我在系统母版页部分(网站设置->网站母版页设置->指定系统母版页)中选择了自定义母版页,则可以在Sharepoint在线设计一个自定义母版页,该母版页将应用于所有SharePoint内置页面。 But I want to apply custom master page only to VersionDiff.aspx. 但是我只想将自定义母版页应用于VersionDiff.aspx。 Is there any way that, I can apply custom master page only for VersionDiff.aspx in SharePoint online. 有什么办法,我只能对SharePoint Online中的VersionDiff.aspx应用自定义母版页。 I want to write some custom coding on this page. 我想在此页面上编写一些自定义代码。 Can anyone please help me on this? 有人可以帮我吗?

What you can do is you can open that page in SharePoint Designer and see if you can edit the Custom Master Page url from there? 您能做的是可以在SharePoint Designer中打开该页面,然后查看是否可以从此处编辑自定义母版页URL? If not, then you may need to put some logic in a page itself to change the custom master page programatically. 如果不是,那么您可能需要在页面本身中放入一些逻辑以编程方式更改自定义母版页。

I am not sure how to do that at this moment though 我现在不知道该怎么做

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM