apply theme 方法

上次修改时间: 2010年3月23日

适用范围: SharePoint Foundation 2010

在用户选择主题之后,客户端计算机会向FrontPage 服务器扩展发送 apply theme 方法。此方法告知 FrontPage 服务器扩展应用于指定服务的主题。

此方法还告知是将主题应用于页还是整个网站。包含的内容是有关如何实现主题的首选项,其中包括是否使用级联样式表来创建主题。

method=apply theme:server_extension_version 
&service_name=/&theme_name=theme_name
&theme_params=integer&url_list=list_of_URLs
&apply_opt=(web|page[rfi])[&validateWelcomeNames=(true|false)]

参数

service_name 参数

theme_name 参数

url_list 参数

apply_Opt 参数

validateWelcomeNames 参数

解码

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
. 
. 
.
method=apply+theme:6.0.n.nnnn
&service_name=/
&theme_name=breeze
&theme_params=17
&url_list=[index.xml]
&apply_opt=page,rfi

请参阅

概念

SharePoint Foundation 的服务器版本