<?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>I want to add an icon to button label</title><link>https://community.appian.com/discussions/f/user-interface/13117/i-want-to-add-an-icon-to-button-label</link><description>In my interface there are several dropdown filters, I want clear filtrers with a button click. The button is working alright, but I want to show refresh icon instead of text in the button label, but the richtextdisplayfield and richtexticon is not working</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59332?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 07:22:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f6c4cc8-f45b-46ad-99dc-c0f715785c37</guid><dc:creator>swarajd0001</dc:creator><description>Hi Sudiptab  , i think  below code may help you...&lt;br /&gt;
&lt;br /&gt;
for  unicode you can refer &lt;a href="http://xahlee.info/comp/unicode_crosses.html"&gt;xahlee.info/.../unicode_crosses.html&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
above  link&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
a!formLayout(&lt;br /&gt;
  label: &amp;quot;Form&amp;quot;,&lt;br /&gt;
  contents: {&lt;br /&gt;
    &lt;br /&gt;
  },&lt;br /&gt;
  buttons: a!buttonLayout(&lt;br /&gt;
    primaryButtons: {&lt;br /&gt;
      a!buttonWidget(&lt;br /&gt;
        label: char(9993)&amp;amp;&amp;quot; Send&amp;quot;,&lt;br /&gt;
        style: &amp;quot;PRIMARY&amp;quot;,&lt;br /&gt;
        submit: true&lt;br /&gt;
      )&lt;br /&gt;
    },&lt;br /&gt;
    secondaryButtons: {&lt;br /&gt;
      a!buttonWidget(&lt;br /&gt;
        label: char(9747)&amp;amp;&amp;quot; Cancel&amp;quot;,&lt;br /&gt;
        value: true,&lt;br /&gt;
        saveInto: ri!cancel,&lt;br /&gt;
        style: &amp;quot;NORMAL&amp;quot;,&lt;br /&gt;
        submit: true,&lt;br /&gt;
        validate: false&lt;br /&gt;
      )&lt;br /&gt;
    }&lt;br /&gt;
  )&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59166?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:47:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72c25b99-2375-4d82-92dd-1996d289666d</guid><dc:creator>Sudipta Biswas</dc:creator><description>Thank you guys. It seems all good for me :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59163?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:14:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ee32ab0-23ef-4ada-806c-2076cb27639a</guid><dc:creator>gauravs0002</dc:creator><description>&lt;p&gt;HI Sudip,&lt;/p&gt;
&lt;p&gt;Kindly try below code, and let me know if its works out for you.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/13/pastedimage1534238052326v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1534238052326v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59162?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:10:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9e435d8-5537-4aa0-9fd5-124bd3c2bcca</guid><dc:creator>ramakrishnak</dc:creator><description>Hi Sudiptab,&lt;br /&gt;
&lt;br /&gt;
Please use the below code to achieve your requirement,&lt;br /&gt;
&lt;br /&gt;
 a!buttonWidget(&lt;br /&gt;
        label: char(8635),&lt;br /&gt;
       &lt;br /&gt;
        size: &amp;quot;LARGE&amp;quot;&lt;br /&gt;
      )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you want different symbol for icon, try this codes: 10227, 10226 and 128472, try using these codes in char function, to display &amp;quot;Refresh&amp;quot; symbol&lt;br /&gt;
&lt;br /&gt;
Rama!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59161?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:02:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76266d0d-aa3d-4142-8d23-f3cbd9ca1fb6</guid><dc:creator>dmitryg</dc:creator><description>&lt;p&gt;Hello sudiptab,&lt;br /&gt; Maybe you can use unicode symbol for example&lt;br /&gt; secondaryButtons: {&lt;br /&gt; a!buttonWidget(&lt;br /&gt;label: char(10226) &amp;amp; &amp;quot; Refresh &amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; style: &amp;quot;NORMAL&amp;quot;&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; site with symbols &lt;a href="http://xahlee.info/comp/unicode_arrows.html"&gt;xahlee.info/.../unicode_arrows.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59159?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:02:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6c9c426-628c-43a1-a25f-d7ea44324f17</guid><dc:creator>siddharthg837</dc:creator><description>Hi Sudipta,&lt;br /&gt;
&lt;br /&gt;
You can easily have a &amp;quot;Refresh&amp;quot; (or any other) icon configured as a link (using dyanmic links) - which can allow you to set/re-set any dynamic values that can further be used to drive your &amp;quot;Clear Filtes&amp;quot; logic.&lt;br /&gt;
&lt;br /&gt;
If this still doesn&amp;#39;t work for you, can you please share the code snippet for the same to look for any issues.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Siddharth&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59158?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 08:59:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3e42fc1-e7f4-43b3-b240-9783ef630aa5</guid><dc:creator>Krishna Chaitanya</dc:creator><description>Hi Sudiptab&lt;br /&gt;
AFIK  we can&amp;#39;t show icon in in button label.&lt;br /&gt;
We  can achieve this by link &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 a!richTextDisplayField(&lt;br /&gt;
      value: {&lt;br /&gt;
        a!richTextItem(&lt;br /&gt;
          text: {&lt;br /&gt;
            a!richTextIcon(&lt;br /&gt;
              icon: &amp;quot;refresh&amp;quot;&lt;br /&gt;
            ),&lt;br /&gt;
            &amp;quot; Refresh&amp;quot;&lt;br /&gt;
          },&lt;br /&gt;
          link: a!dynamicLink(),&lt;br /&gt;
          linkStyle: &amp;quot;STANDALONE&amp;quot;&lt;br /&gt;
        )&lt;br /&gt;
      }&lt;br /&gt;
    )&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to add an icon to button label</title><link>https://community.appian.com/thread/59156?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 08:48:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10f46f0e-791d-4d9d-9d10-c60724802f89</guid><dc:creator>Navajith K</dc:creator><description>I don&amp;#39;t think we can have icon in button label. Try the below code if you can replace the button with Link.&lt;br /&gt;
&lt;br /&gt;
a!imageField(&lt;br /&gt;
  images:a!documentImage(&lt;br /&gt;
    document:a!iconNewsEvent(&amp;quot;REFRESH&amp;quot;),&lt;br /&gt;
    link:a!dynamicLink(&lt;br /&gt;
      &lt;br /&gt;
    )&lt;br /&gt;
  )&lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>