Compartilhar via


dialogview Method

Applies to: SharePoint Foundation 2010

Opens a view of the document libraries within a site, of a specific document library, or of a folder within a document library that is used in a dialog box for opening or saving files; or opens the property form that is used when saving a file.

http://Server_Name/[sites/][Site/]_vti_bin/owssvr.dll?
  dialogview=[FileOpen|FileSave|SaveForm]
  &location=Document_Library[/Folder][/File]
  &FileDialogFilterValue=Text

Parameters

Parameter

Description

dialogview

FileOpen — The Open dialog box. The location parameter must specify the folder location.

FileSave — The Save dialog box. The location parameter must specify the folder location.

SaveForm — The Property form. To view the property form used when saving a file, the location parameter must specify the file in the document library. This view is rendered only if custom properties are added to the library, which by default are not included for document libraries in Microsoft SharePoint Foundation.

location

Specifies the site-relative URL of a document library or of a folder or file within a document library. If SaveForm is specified for dialogview, the URL for the location parameter must point to the file being saved. If the location parameter is passed without specifying a value, this method displays a view of all the document libraries in the site.

FileDialogFilterValue

Specifies the file name extension by which to filter the view in the file dialog box. For example, *.doc, *.txt, or *.htm.

Decoded

http://Server_Name/[sites/][Site/]_vti_bin/owssvr.dll?dialogview=
   FileOpen&location=myDocLib&FileDialogFilterValue=*.doc

Remarks

The dialogview method is used in URL protocol.