<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Interface expression mode</title><link>https://community.appian.com/discussions/f/user-interface/20369/interface-expression-mode</link><description>Please help me to figure oute the error - Expression evaluation error: Syntax error. Details: Expression evaluation error at function a!columnLayout parameter 2 [line 33]: Missing right parenthesis in expression, found COMMA 
 { a!columnLayout( columns</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Interface expression mode</title><link>https://community.appian.com/thread/79433?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 12:23:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe4507a7-a20d-440f-b684-16068b0b9bb7</guid><dc:creator>hemalathak803</dc:creator><description>&lt;p&gt;Hi Amrutah,&lt;/p&gt;
&lt;p&gt;Choose function will accept only integer as input (Key). But you have passed text as parameter. Please use If or display value function to define the size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interface expression mode</title><link>https://community.appian.com/thread/79432?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 12:18:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97cbd6fc-309a-4aa6-9886-6de1ff59cdf1</guid><dc:creator>amrutah0001</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Now having this error&lt;/p&gt;
&lt;p&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error at function &amp;#39;choose&amp;#39; [line 11]: Choose index cannot be null.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interface expression mode</title><link>https://community.appian.com/thread/79430?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 12:06:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae7171d5-2ba9-4a6d-8b32-88d9b5a6d5f9</guid><dc:creator>hemalathak803</dc:creator><description>&lt;p&gt;Hi Amrutah,&lt;/p&gt;
&lt;p&gt;Please find the correct code pasted below. At line 29 you have missed one comma. And Column layout should present inside Columns layout.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!columnsLayout(
    columns: {
      a!columnLayout(
        contents: {
          a!richTextDisplayField(
            value: (
              a!richTextIcon(
                icon: ri!icon,
                size: choose(
                  &amp;quot;LARGE&amp;quot;,
                  &amp;quot;MEDIUM_PLUS&amp;quot;,
                  &amp;quot;MEDUIM&amp;quot;
                ),
                color: cons!DU_CHART_COLOR_HEX_CODES
              ),
              
            )
          ),
          a!richTextItem(
            text: &amp;quot; &amp;quot; &amp;amp; ri!label,
            size: choose(
              &amp;quot;LARGE&amp;quot;,
              &amp;quot;MEDIUM_PLUS&amp;quot;,
              &amp;quot;MEDUIM&amp;quot;
            )
          )
        }
      ),
      a!columnLayout(
        contents: (
          ri!extraComponent
        ),
        width: if(
          ri!isSectionFullPageWidth,
          &amp;quot;WIDE&amp;quot;,
          &amp;quot;NARROW_PLUS&amp;quot;
        ),
        showWhen: not(
          isnull(
            ri!extraComponent
          )
        )
      ),
      a!columnLayout(
        width: &amp;quot;NARROW&amp;quot;,
        contents: {
          a!richTextDisplayField(
            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
            align: &amp;quot;RIGHT&amp;quot;,
            value: (
              a!richTextItem(
                text: ri!linklabel,
                style: &amp;quot;STRONG&amp;quot;,
                size: choose(
                  ri!level,
                  &amp;quot;MEDUIM&amp;quot;,
                  &amp;quot;STANDARD&amp;quot;,
                  &amp;quot;SMALL&amp;quot;
                ),
                color: cons!DU_CHART_COLOR_HEX_CODES,
                link: ri!link,
                linkStyle: &amp;quot;STANDALONE&amp;quot;
              )
            )
          )
        },
        showWhen: not(
          isnull(
            ri!showWhen
          )
        )
      )
    },
    
  ),
  if(
    ri!doesBottomDividerHaveColor,
    a!cardLayout(
      style: cons!DU_CHART_COLOR_HEX_CODES
    ),
    a!sectionLayout(
      divider: &amp;quot;ABOVE&amp;quot;
    )
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>