ssWeblayoutUrl About Idoc Script Variables HttpWebsitesRoot HttpRelativeWebsitesRoot

Idoc Script Extensions 9-19 Returns A string which is the friendly link to a specific piece of content. Code Example --ssLinkdDocName , targetSiteId-- --ssLinkdDocName-- --ssLinkdDocName , targetNodeId , targetSiteId--

9.39 ssNodeLink

Description This script extension is used to generate a path-based URL to a specified node. This is deprecated in preference of wcmUrl see Section 9.13, wcmUrl . For more information, see Section 4.3, Using Server-Side Script Links. Parameters ■ nodeId : A unique identifier for a node. ■ siteId : A unique identifier for the web site containing the node optional. Returns The friendly link to the primary or landing page of a node. Code Example --ssNodeLinknodeId , siteId-- --ssNodeLinknodeId--

9.40 ssWeblayoutUrl

Description This script extension is used to determine the full web address of a file from either the path or dDocName. This is most typically used for paths to images in data files. This is deprecated in preference of wcmUrl see Section 9.13, wcmUrl . For more information, see Section 4.3, Using Server-Side Script Links. Parameters ■ targetId : Either the path to a file or the dDocName value of the file. Returns A path-based weblayout URL. Code Example --ssWeblayoutUrlmydocname-- --ssWeblayoutUrlgroupspublicdocumentsadacctmydocname.jpg-- 9-20 Oracle Fusion Middleware Technical Reference Guide for Site Studio 10 Idoc Script Variables 10-1 10 Idoc Script Variables Site Studio uses several Idoc variables that are used to run a web site: ■ Section 10.1, About Idoc Script Variables ■ Section 10.2, HttpWebsitesRoot ■ Section 10.3, HttpRelativeWebsitesRoot ■ Section 10.4, HttpFragmentsRoot ■ Section 10.5, HttpRelativeFragmentsRoot ■ Section 10.6, SS_SERVER_NAME ■ Section 10.7, HttpASPPath ■ Section 10.8, ssServerRelativeSiteRoot

10.1 About Idoc Script Variables

Idoc script variables are used to give you more flexibility and customization when running your web site. Many of the variables are used to store the HTTP location of different folders on the Oracle Content Server.

10.2 HttpWebsitesRoot

Defines the full HTTP location for the Site Studio websites folder. The typical location where server is the name of the machine and instance is the name of the instance of the content server is: http:serverinstancewebsites

10.3 HttpRelativeWebsitesRoot

Defines the relative HTTP location for the Site Studio websites folder. The typical location where instance is the name of the instance of the content server is: instance websites Note: These variables are subject to change with each release of Site Studio. 10-2 Oracle Fusion Middleware Technical Reference Guide for Site Studio

10.4 HttpFragmentsRoot