<?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>reusing interface</title><link>https://community.appian.com/discussions/f/user-interface/28456/reusing-interface</link><description>Hi Team, 
 I have 2 interfaces, one which hold only the calender icon and other one which formats the date. 
 1st interface AB_icon 
 a!richTextDisplayField( value: { a!richTextIcon(icon: &amp;quot;calendar-o&amp;quot;, color: &amp;quot;SECONDARY&amp;quot;), } ) 
 2nd interface which formats</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111558?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 13:39:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03c33cba-ce43-4d1a-89c6-9651e8454c27</guid><dc:creator>tejpals0001</dc:creator><description>&lt;p&gt;Yes correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111554?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 13:32:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aca13287-adb7-460a-a565-1b5044bf675a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Since nobody else mentioned this specifically - &amp;quot;&amp;amp;&amp;quot; is the string concatenation operator.&amp;nbsp; When you use it between the two other elements, it causes Appian to concatenate the contents of these into a string - that doesn&amp;#39;t concatenate the &lt;em&gt;&lt;strong&gt;output&lt;/strong&gt;&lt;/em&gt; into a string, but rather concatenates the &lt;em&gt;component code&lt;/em&gt; into a string - hence what you have in your original screenshot.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1682083904723v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111552?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 13:20:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96161c9e-5945-40ad-93c6-7f8e8c492b43</guid><dc:creator>tejpals0001</dc:creator><description>&lt;p&gt;a!localVariables(&lt;br /&gt; local!date:today(),&lt;br /&gt; a!richTextDisplayField(&lt;br /&gt; value: {a!richTextIcon(&lt;br /&gt; icon: &amp;quot;calendar&amp;quot;,&lt;br /&gt; &lt;br /&gt; ),&amp;quot; &amp;quot;,&lt;br /&gt; a!richTextItem(&lt;br /&gt; text: local!date&lt;br /&gt; )}&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111547?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:22:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb4aa6e3-7dd4-4864-a3d4-cef8b5cca94f</guid><dc:creator>Anshu raj singh Ranawat</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="sql"&gt;{
  a!columnsLayout(
    columns: {
      a!columnLayout(
        contents: {
          a!richTextDisplayField(
            labelPosition: &amp;quot;COLLAPSED&amp;quot;,
            value: {
              a!richTextIcon(
                icon: &amp;quot;calendar&amp;quot; 
              ),
              a!richTextItem(
                text:todate(now())
              )
            }
          )
        }
      )
    }
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111546?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:21:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0b50dd3-236a-4d71-b0f3-90f3591ea51a</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;I am re-using it many places, hence used the interface for that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111545?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:19:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ee467b0b-71f4-4457-8370-f77358aa0d84</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;You have made it soo much complex.&lt;/p&gt;
&lt;p&gt;Is this what you want?&lt;/p&gt;
&lt;p&gt;&lt;img height="52" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1682079610985v1.png" width="241" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111543?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:12:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:272c4b8d-4464-4dad-9662-fc69053bfd68</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;I need a calender icon to be present in front of the date. How to do that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111542?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:11:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88f98da6-a1ae-4227-b4a0-aa5e2a33f1eb</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;it has the richtextdisplayfield to display the label and the value&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1682079176473v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reusing interface</title><link>https://community.appian.com/thread/111540?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 12:09:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:700c6dc4-8992-4d53-a56a-98a9e27ccd4e</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;I think you are trying to show a richTextDisplayField in a textField.&lt;/p&gt;
&lt;p&gt;What is the use of&amp;nbsp;&lt;span&gt;FST_c_readOnlyFieldDisplay()&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>