<?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 display attachment details after I upload the attachment. unable to find a good example</title><link>https://community.appian.com/discussions/f/general/20679/i-want-to-display-attachment-details-after-i-upload-the-attachment-unable-to-find-a-good-example</link><description>I have a requirement where after I upload the attachment, I need the following tabular information needs to be shown as read-only . I could not find a good example in SAIL documentation 
 
 Say, if I upload a file name abc.txt then the following info</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to display attachment details after I upload the attachment. unable to find a good example</title><link>https://community.appian.com/thread/80610?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 11:58:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f08057b3-e871-43bf-b3ad-e352bb58cc09</guid><dc:creator>vamsi krishna</dc:creator><description>&lt;p&gt;document() can help you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to display attachment details after I upload the attachment. unable to find a good example</title><link>https://community.appian.com/thread/80594?ContentTypeID=1</link><pubDate>Tue, 30 Mar 2021 15:06:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9284c4e-ee8b-4d17-8e75-88cf9298479e</guid><dc:creator>viswanathn0001</dc:creator><description>&lt;p&gt;thank you all&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to display attachment details after I upload the attachment. unable to find a good example</title><link>https://community.appian.com/thread/80573?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 20:13:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac2b7c35-cf45-4a80-8650-e9fd414dc4b9</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Additionally, here&amp;#39;s some sample code to display document details in a grid fashion utilizing the folder ID to retrieve documents (how we typically do it):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!docs: fn!folder(500170,&amp;quot;documentChildren&amp;quot;),
  
  a!gridLayout(
    headerCells: a!forEach(
      items: {&amp;quot;Name&amp;quot;,&amp;quot;Type&amp;quot;,&amp;quot;Size&amp;quot;,&amp;quot;Uploaded By&amp;quot;,&amp;quot;Date&amp;quot;}, 
      expression: a!gridLayoutHeaderCell(label: fv!item)
    ),
    columnConfigs:  a!forEach(
      items: fn!repeat(5,&amp;quot;DISTRIBUTE&amp;quot;), 
      expression: a!gridLayoutColumnConfig(width: fv!item)
    ),
    rows: a!forEach(
      items: local!docs,
      expression: a!gridRowLayout(
        id: fv!index,
        contents: {
          a!richTextDisplayField(
            value: document(fv!item,&amp;quot;name&amp;quot;)
          ),
          a!richTextDisplayField(
            value: document(fv!item,&amp;quot;extension&amp;quot;)
          ),
          a!richTextDisplayField(
            value: document(fv!item,&amp;quot;size&amp;quot;)
          ),
          a!richTextDisplayField(
            value: document(fv!item,&amp;quot;lastUserToModify&amp;quot;)
          ),
          a!richTextDisplayField(
            value: document(fv!item,&amp;quot;dateCreated&amp;quot;)
          )
        }
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to display attachment details after I upload the attachment. unable to find a good example</title><link>https://community.appian.com/thread/80571?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 16:45:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:981b9d00-a533-4c4e-89e5-22ae0626be23</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is plenty discussions covering this topic here.&lt;/p&gt;
&lt;p&gt;In short, document information is only available after submit. For your use case, create a second interface showing your grid and enable chaining in the process model to forward the user directly to this interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>