apply theme Method

After a user selects a theme, the client computer sends an apply theme method to FrontPage Server Extensions from Microsoft. This method tells FrontPage Server Extensions which theme to apply to the named service.

The method also tells whether to apply the theme to a page or to the entire Web site. Included are preferences for how to implement the theme, including whether or not to use cascading style sheets to create the theme.

Syntax

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)]

Parameters

service name

theme_name

url_list

apply_opt

validateWelcomeNames

Decoded

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

Return Value

Success

message=successfully applied theme

Error

Returns an error message in standard format. For more information, see Error Message Format for FrontPage 2002 Server Extensions from Microsoft.

May also return the following error message specific to the apply theme method:

message=could not apply theme

Sample Return Code