<?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>RE: Button</title><link>https://community.appian.com/discussions/f/user-interface/37900/re-button</link><description>Hi All, 
 
 I am trying to hide one button based on condition, that initiator cannot see that button it is working in UI level but it is not working in site, 
 
 and local!isCurrentUserInitiator_bool: local!loggedinUser_txt = ri!crModuleStatus_cdt.addedBy_txt</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: RE: Button</title><link>https://community.appian.com/thread/142539?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 07:47:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdd0c2cc-62a5-46cf-a841-fb301b1f4151</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;You can try printing the variable values and troubleshoot. I suspect&amp;nbsp;&lt;strong&gt;not(local!isCurrentUserInitiator_bool)&amp;nbsp;&lt;/strong&gt;to be the cause, instead of not() can you try&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;local!isCurrentUserInitiator_bool = true&amp;nbsp;&lt;/strong&gt;or&amp;nbsp;&lt;strong&gt;local!isCurrentUserInitiator_bool = false&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;whichever is right for your case&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Button</title><link>https://community.appian.com/thread/142528?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 17:56:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1bdcd9fe-6406-403f-98ef-d9faf8cff2df</guid><dc:creator>Shanmathi Ponnusamy</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/siddagangus0001"&gt;sid&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please try to display the variables local!isCurrentUserInitiator_bool,&amp;nbsp;&amp;nbsp; &amp;nbsp;local!moduleRecommendationStatus_cdt.approver_txt and&amp;nbsp; index(&lt;br /&gt; local!approver_cdt,&lt;br /&gt; &amp;quot;isApproveDisplay_bool&amp;quot;,&lt;br /&gt; false()&lt;br /&gt; ) in a paragraph field for testing purpose and see the values in the SITE whether you are getting the expected values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>