Plumtree Portal UI  
 

GatewayHelpers.ConstructPrefPageLink Method (AActivitySpace, Int32, Int32, Int32, Int32, Int32)

This method constructs gateway URL that points to a specific associated resource (preference page, help page). If this method is called with iPrefType parameter set to 0, the result is a gateway prefix that should be followed by the actual absolute URL to the gatewayed resource.

public static string ConstructPrefPageLink(
   AActivitySpace asOwner,
   int iPortletID,
   int iCommunityID,
   int iPageID,
   int iPrefType,
   int iClassID
);

Parameters

asOwner
- current activity space object
iPortletID
- portlet or web service id
iCommunityID
- community ID (0 if not applicable)
iPageID
- page ID (0 if not applicable)
iPrefType
- preference type
iClassID
- class id that describles iPortletID parameter.

Return Value

string that is a gateway URL.

See Also

GatewayHelpers Class | com.plumtree.portaluiinfrastructure.statichelpers Namespace | GatewayHelpers.ConstructPrefPageLink Overload List