GenerateExternalPortalURL
Mon 01 January 2018Syntax
GenerateExternalPortalURL(PORTAL.portalname, NODE.nodename, URL)
Description
Use the GenerateExternalPortalURL function to create a URL string that represents an absolute reference the specified external content (URL) on the portal servlet.
The PortalURI of the node that hosts the specified portal is used in the generated URL. The generated URL contains a reference to the portal service ( psp ) servlet.
If you want to generate a relative URL, use the GenerateExternalRelativeURL function.
Parameters
Field or Control |
Definition |
---|---|
portalname |
Specify the name of the portal used for this request, prefixed with the reserved word PORTAL . You can also use a string, such as %Portal, for this value. |
NodeName |
Specify the name of the node that contains the content, prefixed with the reserved word NODE . You can also use a string, such as %Node, for this value. |
URL |
Specify the URL to be used for this content. |
Returns
A string of the following format is returned:
http://Portal URI of host node/Portal/node/e/encodedURL
When the portal servlet evaluates an external URL, the Node is ignored, so %Node can always be passed in for the Node parameter.
This function returns a Null string if you specify an invalid portal or node.