|  | Plumtree Portal UI | |
| PTOpenerLinks.GetOpenerURLOpenObjID Method (Int32, Int32, String, Int32, String, Int32) |
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. This method takes in optional QS arguments. Therefore no arguments (i.e. ParentSpaceName/ParentSpaceID), etc will be set for you. You must specify all arguments using the QSArgs argument.
public static
string GetOpenerURLOpenObjID(
int _nClassID,
int _nObjectID,
string _strOptQSArgs,
int _nOpenerMode,
string _strApplicationBaseURL,
int _nUserID);
Parameters
-
_nClassID
- ClassID of the object to open.
-
_nObjectID
- ObjectID of the object to open.
-
_strOptQSArgs
- Arguments to use for opening the object, NULL to exclude.
-
_nOpenerMode
- Mode to open object in, use OpenerLinks.INT_PARAM_EXCLUDEVALUE constan to exclude.
-
_strApplicationBaseURL
- The Application Base URL.
-
_nUserID
- User ID to append to the URL, use OpenerLinks.INT_PARAM_EXCLUDEVALUE constan to exclude.
Return Value
URL that opens the specified object, generically.
See Also
PTOpenerLinks Class | com.plumtree.portaluiinfrastructure.opener Namespace | PTOpenerLinks.GetOpenerURLOpenObjID Overload List