ssLoadSiteNavResultSet ssGetServerRelativeUrl ssGetServerRelativePath ssGetUrlPageName

9-16 Oracle Fusion Middleware Technical Reference Guide for Site Studio ■ relative : The relationship; must be one of: child, parent, prior, or next. ■ respectContribOnly : A boolean value; the default is yes optional. Returns The nodeId of the node that has the stated relationship to the context node, or an empty string if there is no node with that stated relationship. Code Example --Variable = ssGetRelativeNodeIdsiteId , nodeId , child , no--

9.31 ssLoadSiteNavResultSet

Description This script extension can be used to create a SiteStudioNavNodes ResultSet in the Idoc execution environment that will contain the active hierarchy for any web site on the content server. Parameters ■ siteId : the unique identifier for the web site Returns A ResultSet of the web site hierarchy, called SiteStudioNavNodes. The SiteStudioNavNodes ResultSet has 5 or more columns, depending on the settings of the configuration flag SSAdditionalNavResultSetFields For more information, see Section 12.14, SSAdditionalNavResultSetFields : ■ nodeId : the unique identifier for the node. ■ parentNodeId : the unique identifier for the parent node. ■ label : the label for the node. ■ level : the depth of the node in the site hierarchy. The root section has a level of 0. ■ href : the site relative path-based URL to the nodes primary page. Code Example --ssLoadSiteNavResultSetsiteId--

9.32 ssGetServerRelativeUrl

Description This script extension can be used to generate a server relative URL to the primary layout for a specified node, including the trailing urlPageName usually index.htm. Parameters ■ siteId : The unique identifier for the web site. ■ nodeId : A unique identifier for a node. Returns A full friendly URL relative to the server. Idoc Script Extensions 9-17 Code Example --ssGetServerRelativeUrlsiteId , nodeId--

9.33 ssGetServerRelativePath

Description This script extension can be used to generate a server relative URL to the primary layout for a specified node, excluding the trailing urlPageName usually index.htm. Parameters ■ siteId : The unique identifier for the web site. ■ nodeId : A unique identifier for a node. Returns A full friendly URL relative to the server, not including the page name. Code Example --ssGetServerRelativePathsiteId , nodeId--

9.34 ssGetUrlPageName

This script extension can be used to obtain the urlPageName for a specified node. Parameters ■ siteId : The unique identifier for the web site. ■ nodeId : A unique identifier for a node. Returns The urlPageName of the node. Usually this is index.htm. Code Example --ssGetUrlPageNamesiteId--

9.35 ssGetNodeLabel