Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortletRequest.GetPageID Method 

Returns the ID of the portal page on which the Portlet is currently displayed.

int GetPageID();

Return Value

the page ID

Remarks

This is a new feature in version 5.0; this method throws ProtocolNotSupportedException when used with any prior version of the portal. The administrator must configure the portal to send the Page ID to the Portlet.

Exceptions

Exception Type Condition
NotGatewayedException if the request is not gatewayed
ProtocolNotSupportedException if used with version of the portal earlier than 5.0
NotInRequestException if the administrator has not configured the portal to send the Page ID to the Portlet

See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace