<?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>Documents shown on documentdownload link</title><link>https://community.appian.com/discussions/f/user-interface/19953/documents-shown-on-documentdownload-link</link><description>Hi All, 
 i have written a work for export to excel and with download functionality, 
 in download document link , all the document in an array is show, how can i show documents with specific keyword in document name, 
 like , if the array has 10 documents</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Documents shown on documentdownload link</title><link>https://community.appian.com/thread/78014?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 08:15:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37623f5b-f943-4bbd-91fe-7694e9434f88</guid><dc:creator>vineethk0001</dc:creator><description>&lt;p&gt;thanks a lot Mike, it worked like charm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents shown on documentdownload link</title><link>https://community.appian.com/thread/77991?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 16:10:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87ddeeec-cf46-48f0-aa1f-37da0c7c8a2a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Isn&amp;#39;t your &lt;em&gt;local!eligiblePoolDocNames&lt;/em&gt; variable handling that?&amp;nbsp; Or does it currently contain all documents?&amp;nbsp; It seems like that would be a good place to do this filtering, though I&amp;#39;m not super clear on the intent behind all the other processing happening in your local variable definitions.&lt;/p&gt;
&lt;p&gt;Assuming that variable does contain all docs and needs to continue doing so, then i suppose you can try something like this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!forEach(
  items: local!eligiblePoolDocNames,
  expression: if(
    search(&amp;quot;ABCD&amp;quot;, fv!item) = 0,
    {},
    a!richTextItem(
      text:fv!item&amp;amp;&amp;quot;  &amp;quot;,
      link:  a!documentDownloadLink(
        document: index(local!eligiblePoolDocs, fv!index)
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents shown on documentdownload link</title><link>https://community.appian.com/thread/77989?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 16:03:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:674a95cf-2442-4c41-a83a-06ab2e13c50b</guid><dc:creator>vineethk0001</dc:creator><description>&lt;p&gt;it giving all the documents, i want to give a condition on DocumentName, like if(documentName Contains(ri!sbg)) only show those documents&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Documents shown on documentdownload link</title><link>https://community.appian.com/thread/77987?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 14:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c47a709-17f5-496b-bd6f-8067c5337495</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What is your posted code currently doing wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>