Plumtree Portal UI  
 

PTOpenerLinks.GetOpenerURLOpenObjID Method (Int32, Int32, String, Int32, AActivitySpace)

Returns an URL that opens the specified object. If you do not specify the mode to open the object in, the default mode for that class will be used. Opening by ClassID/ObjectID pair is the simplest way. By default, the Application Base URL and User ID will be retrieved from the AS owner. If you want to use alternate values, or remove the User ID from the URL, you need to use the base GetOpenerURL method. Additionally, the ParentSpace Name and ID will also be placed onto the URL and these too will be retrieved from the A aS. If you want to change the location of the Parent or remove it from the URL, you can use the overloaded method of the same name.

public static string GetOpenerURLOpenObjID(
   int _nClassID,
   int _nObjectID,
   string _strObjectName,
   int _nOpenerMode,
   AActivitySpace _asOwner
);

Parameters

_nClassID
ClassID of the object to open.
_nObjectID
ObjectID of the object to open.
_strObjectName
Name of the object to open. Should be null if not used, but should always be passed in if available.
_nOpenerMode
Mode to open object in, use OpenerLinks.INT_PARAM_EXCLUDEVALUE constan to exclude.
_asOwner
AS to retrieve information from.

Return Value

URL that opens the specified object.

See Also

PTOpenerLinks Class | com.plumtree.portaluiinfrastructure.opener Namespace | PTOpenerLinks.GetOpenerURLOpenObjID Overload List