move document Method

Changes the name of the selected document to the new name provided by the user.

method=move document:server_extension_version
&service_name=/&oldURL=url
&newURL=url&url_list=list_of_urls&rename_option=(findbacklinks|)
&put_option= (true|false)[&docopy=(true|false)][&validateWelcomeNames=(true|false)]

Parameters

service_name Parameter

oldURL Parameter

newURL Parameter

url_list Parameter

rename_option Parameter

put_option Parameter

docopy Parameter

validateWelcomeNames Parameter

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=move+document:6.0.n.nnnn
&service_name=/
&oldUrl=news.xml
&newUrl=prod_descript.xml
&url_list=[]
&rename_option=findbacklinks
&put_option=edit
Return Value

Success

message=successfully renamed URL 'filename' as 'new_filename'

Error

Returns an error message in standard format. For more information, see Error Message Format for FrontPage 2002 Server Extensions. May also return the following error message specific to the move document method:

message=could not rename URL 'File_Name1' as 'File_Name2'
See Also

Other Resources

Server Versions for Windows SharePoint Services

Tags :


Page view tracker