Plumtree Portal UI  
 

PTOpenerLinks.GetOpenerJSURL Method (String, String)

Returns the JS that will create an URL that opens the specified object. If you choose to exclude the opener mode (using NULL), the default mode for that class will be used. Note that you need to provide both the QS name and value pairs in the OtpQSArgs argument (the extended GetOpenerJSXXX methods do this for you automatically). This is the base GetOpenerJSURL method. Besides the ApplicationBaseURL, the CurrentUserID and the OpenerMode, you will need to provide all of the other information you need to open your object. You must specify all of the other arguments using the QSArgs argument. Note that this JS just generates the URL. You will need to wrap the URL with more JS (such as the GetJSOpenInXXX methods) if you want to do something useful with the URL. Note that you can generate URLS using the GetOpenerURL server methods, and then wrapping those URLS - these GetOpenerJSURL methods are useful primarly for dynamic JS work, or if you don't want to repeat values on the page.

public static string GetOpenerJSURL(
   string _strQSArgs,
   string _strOpenerMode
);

Parameters

_strQSArgs
Arguments to use for opening the object.
_strOpenerMode
Mode to open object in, NULL to exclude.

Return Value

The JS that will generate an URL to open the specified object.

See Also

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