ssSplitString ssGetWebsiteName ssGetSiteProperty ssGetFirstNodeId ssGetRelativeNodeId

9-14 Oracle Fusion Middleware Technical Reference Guide for Site Studio Code Example --ssGetWebsiteNodeTypesiteId, nodeId-- --Variable = ssGetWebsiteNodeTypenodeId--

9.25 ssGetCoreMajorVersion

Description This script extension can be used to obtain the major version of the underlying content server. Parameters It has no parameters. Returns Oracle Content Server major version number. Code Example --Variable = ssGetCoreMajorVersion--

9.26 ssSplitString

Description This script extension can be used to split a string into segments based on a specified delimiter. Parameters ■ string : The string to be split. ■ delimiter : The delimiter used to split the string for example ,. ■ name : The name of the result set to store the results of the split operation. Returns The return value is an integer indicating the number of segments that were split out of the supplied string. The extension also generates a ResultSet with one column, named String, listing the split strings. Code Example --ssSplitStringABC;123;XYZ , ; , StorageRows--

9.27 ssGetWebsiteName

Description This script extension can be used to obtain the web site name for any web site on the content server. Parameters The parameters are: ■ siteId : The unique identifier for the web site. Idoc Script Extensions 9-15 Returns The web site name label of the siteId. Code Example --ssGetWebsiteNamesiteId--

9.28 ssGetSiteProperty

Description This script extension can be used to obtain a site property for any web site on the content server. Parameters ■ siteId : The unique identifier for the web site. ■ propertyName : The name of the property whose value is required. Returns The property listed in propertyName, as a string. Code Example --ssGetSitePropertysiteId , propertyName--

9.29 ssGetFirstNodeId

Description This script extension can be used to obtain the identifier nodeId for the root node of any web site on the content server. Parameters ■ siteId : The unique identifier for the web site. Returns The Id of the first node. Code Example --Variable = ssGetFirstNodeIdsiteId--

9.30 ssGetRelativeNodeId

Description This script extension can be used to obtain the identifier nodeId of a node relative to a given node. Parameters ■ siteId : The unique identifier for the web site. ■ nodeId : The unique identifier for the context node. 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