Application.LocatePage Method
SharePoint Designer Developer Reference |
Returns a PageWindow object for the specified object.
Syntax
expression.LocatePage(DocumentUrl, ViewMode)
expression Required. A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
DocumentUrl | Required | String | The document or file portion of the entire URL. This can be any absolute URL, such as "http://web_server/file" or "file://file_system/file" for disk-based Web sites. The default value is the file portion of the URL. |
ViewMode | Optional | PageViewMode | Represents the view mode. |
See Also