ssRandom ssGetNodeProperty ssGetWebsiteNodeType ssGetCoreMajorVersion
9.20 ssIncInlineDynamicConversion
This script extension, like the ssIncDynamicConversion extension, can be used to perform a dynamic conversion of a native document where the resulting HTML is returned in an Idoc string variable that can be placed directly on a web page, in the form of an HTML snippet. Unlike ssIncDynamicConversion, this extension uses a built-in blank template for the dynamic conversion and therefore does not require the caller to specify a managed conversion template or conversion layout. Parameters ■ dDocName : The dDocName of native document to convert. ■ dcPageNum : the page number of the document to convert optional. Returns An HTML string snippet of the document conversion. Code Example --ssIncInlineDynamicConversiondDocName, 1--9.21 ssIsNativeDoc
Description This script extension can be used to detect whether a managed document is to be considered a native document, and thus available for dynamic conversion, or a contributor data file, which requires no conversion. The comparison is not an inclusive test for a native document; the test is an exclusive test for data files. The return of yes as a result means that the document was shown to not be a data file. Parameters ■ dDocName : The dDocName of document to test. Returns Boolean value [1 | 0]. Code Example --Variable = ssIsNativeDocdDocName--9.22 ssRandom
Description This script extension is used to generate a random number. Parameters It has no parameters. Returns A non-negative integer value random number. Idoc Script Extensions 9-13 Code Example --ssRandom-- --Variable = ssRandom--9.23 ssGetNodeProperty
Description This script extension can be used to obtain a node property for either the current section or an explicitly specified section. It is typically used to access custom node properties. Parameters ■ nodeId : The nodeId of the section to be queried optional. If omitted, the current section is used. ■ name : The property name. Returns Returns the value of the specified property. If label is used, the section label will be returned, but other properties can be specified. Code Example For example, the following command will retrieve the section label for the current section: --ssGetNodePropertylabel-- While the following command will retrieve the section label for section 474: --ssGetNodeProperty474, label --9.24 ssGetWebsiteNodeType
Description This script extension can be used to tell the difference between a site node the root of the hierarchy and a regular section node. It can also tell the difference between an ASP and a non-ASP site or section node. Parameters ■ siteId : The siteId of the web site to be queried optional. ■ nodeId : The nodeId of the section to be queried. Returns The return value is one of the following: ■ : Site node for an HCSPJSP type site. ■ 2 : Section node for an HCSPJSP type site. ■ 100 : Site node for an ASP type site. ■ 102 : Section node for an ASP type site. 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
Parts
» Oracle Fusion Middleware Online Documentation Library
» About the Site Studio Technical Reference Scope of the Technical Reference About Site Assets
» Page Templates Subtemplates Templates
» Relationship Between Templates and Definitions Serving Web Pages
» xWebsiteSection xWebsites Metadata Fields
» xDontShowInListsForWebsites xRegionDefinition Metadata Fields
» Conversions Definitions About Metadata About Link Formats Using Path-Based Links
» wcmUrl Using Server-Side Script Links
» ssLink ssNodeLink ssWebLayoutUrl Using Server-Side Script Links
» ssLINK ssNODELINK Using Token Links
» sitenavigation.js Runtime Auto-Generated Files
» sitenavigationfunctions.js sitenavigation.xml
» Using JavaScript Links About Runtime Generated Files wcm.toggle.js
» About Fragments Oracle Fusion Middleware Online Documentation Library
» Fragment Libraries Oracle Fusion Middleware Online Documentation Library
» Read-Only Fragment Libraries Fragment Inclusion Using wcmFragment
» Client-Side JavaScript Server-Side Idoc Script
» fragments fragment parameter The Fragment Definition File
» snippet designview element The Fragment Definition File
» Fragment Snippets and the ssIncludeXml Fragment Instance Structure in the ssinfo XML Data Island
» About Native Documents wcmDynamicConversion Document Conversion in the Properties Pane
» Loading the Element API Element API Dependent Scripts
» Communication from a Contributor Form to a Custom Element
» Detecting Legacy Custom Element Forms Upgrading Legacy Custom Elements
» wcmElement wcmListStart wcmListEnd wcmListElement
» wcmUrl ssIncludeXml Oracle Fusion Middleware Online Documentation Library
» ssGetDocInfo ssGetXmlNodeCount ssIncDynamicConversion ssIncDynamicConversionByRule
» ssRandom ssGetNodeProperty ssGetWebsiteNodeType ssGetCoreMajorVersion
» ssSplitString ssGetWebsiteName ssGetSiteProperty ssGetFirstNodeId ssGetRelativeNodeId
» ssLoadSiteNavResultSet ssGetServerRelativeUrl ssGetServerRelativePath ssGetUrlPageName
» ssGetNodeLabel ssGetNodeLabelPath ssGetAllSites ssLink ssNodeLink
» ssWeblayoutUrl About Idoc Script Variables HttpWebsitesRoot HttpRelativeWebsitesRoot
» Services Related to Designer
» SS_ADD_NODE SS_ADD_WEBSITE_ID SS_BATCH_DECODE_LINK SS_CHECKIN_FRAGMENT_LIBRARY
» SS_COMMIT_SITE_CHANGES SS_CREATE_NEW_SITE_EX2 SS_CREATE_SITE_NAV_JS
» SS_DECODE_LINK SS_DELETE_NODE SS_DOC_INFO_LATEST SS_EDIT_NATIVE_DOCUMENT
» SS_GET_DOCUMENT_USAGE SS_GET_ENVIRONMENT_PROPERTY_NAMES SS_GET_FIRST_NODE_ID SS_GET_FRIENDLY_URL
» TARGET SECTION SOURCE SS_GET_PAGE
» SS_GET_NODE_LINK SS_GET_NODE_PROPERTY SS_GET_PLACEHOLDER_SWITCH_CONTENT_CONFIG
» SS_GET_SITE_AS_XML_EX2 SS_GET_SITE_ASSET_CATEGORIES SS_GET_SITE_CHANGE_MONITOR_TOKEN
» SS_PREPARE_PREVIEW SS_PUBLISH_THIS_PAGE SS_REMOVE_WEBSITE_ID SS_SET_ALL_CUSTOM_NODE_PROP_DEFS
» SS_SET_ELEMENT_DATA SS_SET_ENVIRONMENT_PROPERTY_NAMES SS_SET_NODE_PROPERTY SS_SET_NODES_PROPERTIES
» SS_SWITCH_REGION_ASSOCIATION SS_VALIDATE_WEBSITE_OBJECT WCM_PLACEHOLDER
» WCM_EDIT_DATA_FILE WCM_BEGIN_EDIT_SESSION
» Optimization Requirements The Build Process
» Installing the Contributor Console Window Launching the Contributor Console Window
» Contributor Console Window Context Ensuring the Contributor Console Window is Root
» Logging Syntax Time Profiling
» Command Window Helper Functions Keyboard Commands About the Manager Settings File ssm:settings Tag
» ssm:general Tag ssm:addSection Tag
» ssm:primaryLayout Tag ssm:secondaryLayout Tag
Show more