Share via


GetWebPartPageDocument Method

The GetWebPartPageDocument method of the Web Part Pages service returns the Web Part Page, complete with the Web Parts and the properties included within each Web Part zone.

Parameters

Return Value

A string that contains the Web Part Page and associated Web Parts and properties.

Remarks

The GetWebPartPageDocument method always returns the shared view of the Web Part Page.

Example

The following code example shows a locally defined GetWebPartPageDocument method that obtains a Web Part Page by calling the GetWebPartPageDocument method of the Web Part Pages service through a proxy. It then displays the Web Part Page, the Web Parts on the page, their properties, and their property values. This code example and the proxy are part of a larger example provided for the Web Part Pages service.

Requirements

Platforms: Microsoft Windows Server 2003

Web Reference: http://Server_Name[sites/][Site_Name/]/_vti_bin/WebPartPages.asmx

Security: Code Access Security