<?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>Getting rid of cancel button in Button Widge</title><link>https://community.appian.com/discussions/f/user-interface/19663/getting-rid-of-cancel-button-in-button-widge</link><description>Hi, 
 
 I have created a pop-up message when the button is clicked. But I want the pop-up message should have only one button, But I am getting 2 buttons, one for confirmation another for the cancellation. I have tried to comment the line, put nothing</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Getting rid of cancel button in Button Widge</title><link>https://community.appian.com/thread/76834?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 11:59:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:294c3360-8406-49ec-9797-2638190a9037</guid><dc:creator>Vadivelan</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/karanc"&gt;karanc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is the default behavior and cannot be changed. If confirmHeader is configured, it will display both Confirm and Cancel options by default and cannot be empty.&lt;/p&gt;
&lt;p&gt;If you define any value in &amp;quot;&lt;em&gt;confirmButtonLabel&lt;/em&gt;&amp;quot; it will be displayed, else &amp;quot;&lt;em&gt;Yes&lt;/em&gt;&amp;quot; will be displayed by default.&lt;br /&gt;Similarly if you define any value in &amp;quot;&lt;em&gt;cancelButtonLabel&lt;/em&gt;&amp;quot; it will be displayed, else &amp;quot;&lt;em&gt;No&lt;/em&gt;&amp;quot; will be displayed by default.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rid of cancel button in Button Widge</title><link>https://community.appian.com/thread/76828?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 02:23:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:34919367-ccdd-4c25-8a38-809a6ece9202</guid><dc:creator>gangadharr0001</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Can you use&amp;nbsp;&lt;strong class="StrongText---richtext_strong"&gt;showWhen&lt;/strong&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;Boolean&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;Determines whether the layout is displayed on the interface. When set to false, the layout is hidden and is not evaluated. Default: true.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rid of cancel button in Button Widge</title><link>https://community.appian.com/thread/76817?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 18:26:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7a34784-5fc6-47a3-a55e-cedce0b67bc4</guid><dc:creator>Karanc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please elaborate on your answer? I can&amp;#39;t find any parameter in&amp;nbsp;&lt;span&gt;&amp;nbsp;a!buttonArrayLayout named &amp;#39;displayWhen&amp;#39;. Can you please mention how to use that in code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="27032" url="~/discussions/f/user-interface/19663/getting-rid-of-cancel-button-in-button-widge/76816"]displayWhen[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting rid of cancel button in Button Widge</title><link>https://community.appian.com/thread/76816?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 18:16:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8542a86-6565-4802-9307-d897d488129d</guid><dc:creator>juergeng393</dc:creator><description>&lt;p&gt;Hi Karanc,&amp;nbsp;&lt;br /&gt;this is the expected behavior of the confirmation dialog. The user has to have the capability to &amp;#39;cancel&amp;#39;. Otherwise, if the action always demands clicking okay, why using a confirmation? If the user has triggered the action by incident - he should have the option to cancel.&lt;br /&gt;Maybe you can go with the a!buttonArrayLayout&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.3/Button_Array_Layout.html"&gt;https://docs.appian.com/suite/help/20.3/Button_Array_Layout.html&lt;/a&gt;&amp;nbsp;and use the &amp;#39;displayWhen&amp;#39; option for your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>