Home > Contents > Index > 
ICS.RESOLVEVARIABLES
Resolves Content Server 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)trueindicates new syntax for resolving variables (see the following Description section);falseindicates the old syntax.
Description
The new syntax for resolving variables uses a
$(suffix and a)prefix. For example,Variables.pagenamebecomes$(Variables.pagename). This allows you to resolve variables that may be a prefix of another variable name. For example,Variables.listname.columnbecomes$($(Variables.listname).column)to indicate that the listname is in the variable.errno
The possible values of
errnoare:
 Value Description -106 Invalid variable references. -10004 A required parameter is missing.Example
The following example resolves a variable called
Variables.Yearand streams the result to the browser.<ICS.RESOLVEVARIABLES NAME="Variables.Year"/>This example resolves the variables
Variables.lastnameandVariables.firstnamethen 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 > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.