|  | Plumtree Portal UI | |
| GatewayHelpers.ConstructGatewayURL Method |
This method generates a gateway URL pointing to a resource specified by strURLToGateway parameter.
public static
string ConstructGatewayURL(
string strCurrentRequestURL,
int iPortletID,
int iCommunityID,
int iPageID,
int iPrefType,
int iClassID,
string strURLToGateway);
Parameters
-
strCurrentRequestURL
- - the URL of the current request (normally, the result of AActivitySpace.GetCurrentRequestURL())
-
iPortletID
- - numeric ID of the portlet object or webservice object
-
iCommunityID
- - community ID (0 if not applicable)
-
iPageID
- - page ID (0 if not applicable)
-
iPrefType
- - preference type. For normal portlet click-throughs it should be 0.
-
iClassID
- - class ID. This arguments tells whether second argument of this method is portlet ID or webservice ID.
-
strURLToGateway
- - absolute URL to the resource that should be gatewayed (i.e. http://www.google.com)
Return Value
- a gateway URL string that points to the resource specified.
See Also
GatewayHelpers Class | com.plumtree.portaluiinfrastructure.statichelpers Namespace