It looks like the XML parser is erroring out when the less than sign
is used within an iff() statement.
I'm doing the line:
<field value="v.DEPT_YEAR1" color="iff(v.DEPT_YEAR1 < 0, 'Red',
'Black')" align="left" />
The errors I'm getting are:
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : Unescaped '<' not allowed in attributes values
<field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '
^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : attributes construct error
<field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '
^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : error parsing attribute name
<field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '
^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : attributes construct error
<field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '
As usual, thank you for your product and quick responses.
|