wcmUrl ssIncludeXml Oracle Fusion Middleware Online Documentation Library

9-8 Oracle Fusion Middleware Technical Reference Guide for Site Studio Parameters ■ fragmentInstanceId : The ID of the fragment instance on the page. Used to differentiate fragments that have multiple pages of returns, such as dynamic lists. The ID allows the dynamic lists to display different pages of query results. For instance, one fragment can be on page 1 of its query results, while the other can display page 3 of its own results. If the same ID is used for both fragments, then clicking to a particular page of results for one query will cause the other fragment to display the same page number of its own results. ■ fragmentDocName : The dDocName of the fragment library. ■ fragmentId : The ID of fragment within the named library. ■ snippetId : The ID of snippet within the named fragment. ■ tagProperties : The named value pairs of properties of the fragment. Code Example --wcmFragmentfragmentInstanceID, fragmentDocName, fragmentID, snippetID, ssTheme=default, ssHoverColor=, ssTextColor=, ssFocusColor=, ssShowHome=true, ssShowNext=false, ssClassName=IDocNavTabsTop--

9.13 wcmUrl

Description This is a single script which can be used to make all link formats. Legacy sites required three different scripts to generate the different types of links available in Site Studio. Parameters ■ type : The type of link, entered as one of the following: nodelink, link, resource, or rendition. – nodelink is used to create links to sections, which by default end with index.htm. – link is used to create links to content, which by default end with contentId. – resource is used to link to weblayout static resources, such as images. – rendition is used to link to Digital Asset Manager DAM renditions. ■ nodeId : the ID of the node referenced. Used only when the type is set to either nodelink or link. ■ siteId : the site ID of the web site referenced. Used only when the type is set to either nodelink or link. ■ dDocName : the dDocName of the content referenced. Used only when the type is set to either link or resource. ■ path : the path to the content referenced. Used only when the type is set to either link or resource. ■ renditionName : the name of the rendition linked to. Used only when the type is set to rendition. Idoc Script Extensions 9-9 Code Example Links to sections; by default these links end with index.htm. --wcmUrlnodelink,nodeId-- --wcmUrlnodelink,nodeId,siteId-- Links to content; by default these links end with a contentId. --wcmUrllink,dDocName-- --wcmUrllink,dDocName,nodeId-- --wcmUrllink,dDocName,nodeId,siteId-- Links to weblayout static resources; for example, images. --wcmUrlresource,dDocName-- --wcmUrlresource,groupspublicdocumentsadacctmydocname.jpg-- See also Section 9.40, ssWeblayoutUrl. Links to a DAM rendition: --wcmUrlrendition, dDocName, smallimage--

9.14 ssIncludeXml

Description This script extension is a core Site Studio method that allows any element within a managed XML file to be extracted and returned in an Idoc string variable, which can be placed directly on a web page as an HTML snippet. The content of the XML node that is being extracted will be further evaluated in the scope of the current layout page and therefore can include further server-side Idoc Script, if necessary. Parameters ■ dDocName : The dDocName of XML data file. ■ expression : XPath expression to identify a specific node or nodes of the XML data file. Returns The content of the element listed in the Xpath. Code Example --ssIncludeXmldDocName, expression-- --ssIncludeXmldDocName, wcm:portalwcm:element[name = eleName]node--

9.15 ssGetDocInfo