Home > Contents > Index >
ICS.RESOLVEVARIABLES
Resolves Sites multiple variables.
Syntax
<ICS.RESOLVEVARIABLES NAME="variable name" [OUTPUT="variable name"] [DELIMITED="true|false"] />Parameters
NAME (required)
- String with embedded variable references.
OUTPUT (optional)
- Output variable name. If this parameter is not specified, the output is streamed.
DELIMITED (optional)
true
indicates new syntax for resolving variables (see the following Description section);false
indicates the old syntax.
Description
The new syntax for resolving variables uses a
$(
prefix and a)
suffix. For example,Variables.pagename
becomes$(Variables.pagename)
. This allows you to resolve variables that may be a prefix of another variable name. For example,Variables.listname.column
becomes$($(Variables.listname).column)
to indicate that the listname is in the variable.Error Numbers
The possible values of
errno
are:
Value Description -106 Invalid variable references. -10004 A required parameter is missing.Example
The following example resolves a variable called
Variables.Year
and streams the result to the browser.
<ICS.RESOLVEVARIABLES NAME="Variables.Year"/>
This example resolves the variables
Variables.lastname
andVariables.firstname
then streams the result to the browser.
<ICS.RESOLVEVARIABLES NAME="Variables.lastname,Variables.firstname"/>
Release Introduced
This tag was introduced in CS release 5.0.
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.