<?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>Need to hide section on some particular condition while calling from applyComponent()</title><link>https://community.appian.com/discussions/f/user-interface/11514/need-to-hide-section-on-some-particular-condition-while-calling-from-applycomponent</link><description>Hi Guys, 
 
 I have one section sail code in X page 
 if( ri!flag, if( like( ri!name[ri!index], &amp;quot;test&amp;quot; ), {}, a!sectionLayout( ... ) ), a!sectionLayout( ... ) 
 
 Which is getting call from main forum by passing one array index from applyComponent().</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need to hide section on some particular condition while calling from applyComponent()</title><link>https://community.appian.com/thread/50724?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 07:37:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cbdb669-3c1b-4a9f-b731-074f42ea812c</guid><dc:creator>sauravk</dc:creator><description>like is working without toString also. Issue was form can&amp;#39;t receive null as section layout, so i have appended section layout with dummy column&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to hide section on some particular condition while calling from applyComponent()</title><link>https://community.appian.com/thread/50723?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 07:03:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a027929f-1b49-4881-b4ce-d7f0bd4d32c5</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Comparision only work for same datatype,&lt;br /&gt;
&lt;br /&gt;
please try&lt;br /&gt;
&lt;br /&gt;
like(&lt;br /&gt;
tostring(ri!name[ri!index]),&lt;br /&gt;
&amp;quot;test&amp;quot;&lt;br /&gt;
),&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to hide section on some particular condition while calling from applyComponent()</title><link>https://community.appian.com/thread/50722?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 07:00:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a7da967-afda-46f4-9ff9-876aa4b212e2</guid><dc:creator>annap</dc:creator><description>you have to pass all defined inputs using merge function merge() with proper types. here your error is the type that you pass are mismatch, check the rule input  types and the types of you passing .&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to hide section on some particular condition while calling from applyComponent()</title><link>https://community.appian.com/thread/50716?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 05:44:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c01cdf31-91a9-48ba-8bdc-4b7ef5df2cca</guid><dc:creator>sauravk</dc:creator><description>&lt;p&gt;i have tried like function&amp;nbsp;now with *test. But no wits throwing&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="aui_FieldLayout_Label GFWJSJ4DHOC GFWJSJ4DKT"&gt;&lt;span id="gwt-uid-1742" class="noninput_label labelPosition-ABOVE"&gt;Could not display interface. Please check definition and inputs.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="GFWJSJ4DA3"&gt;
&lt;div class="aui_FieldLayout_InputContainer"&gt;
&lt;p class="appian_form_readonly GFWJSJ4DM0 GFWJSJ4DOMB aui-Field-readonly"&gt;Interface Definition: Expression evaluation error at function a!formLayout [line *]: The contents field on a column layout cannot be a list containing a null. Invalid value at index 15.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>