Plumtree Portal UI  
 

PlumtreeHelpers.MakeCreateObjectLink Method (Int32, String, Int32, String, AActivitySpace, Int32, String, Boolean)

Makes a simple link that creates an object in the parent window - passing in the added arguments.

public static HTMLElement MakeCreateObjectLink(
   int nCLASSID,
   string strProviderCLSID,
   int nObjectID,
   string strLink,
   AActivitySpace asOwner,
   int intOpenerMode,
   string strArgs,
   bool bCloseWindowOnExit
);

Parameters

nCLASSID
- The classID for the objecdt
strProviderCLSID
- If it is an extensibility object the CLSID
nObjectID
- The parent admin folder id in create mode, or the objectID in Edit mode
strLink
- The text for the anchor
asOwner
- The activity space owner
intOpenerMode
- The opener mode - IPTOpenerConstants. OPENER_MODE_CREATE or IPTOpenerConstants.OPENER_MODE_EDIT
strArgs
- Optional querystring arguments
bCloseWindowOnExit
- Close the window on exit?

Return Value

HTMLElement

See Also

PlumtreeHelpers Class | com.plumtree.portaluiinfrastructure.statichelpers Namespace | PlumtreeHelpers.MakeCreateObjectLink Overload List