<?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>RE: Display UI</title><link>https://community.appian.com/discussions/f/user-interface/30166/re-display-ui</link><description>Hello Everyone, 
 
 I have to show the UI like this(read-only), first two columns&amp;#39; data comes from different table (like collateral_cdt) and 3rd and 4th columns data comes from (cust_doc_cdt).How can I display this Ui? 
 
 
 Please suggest on priorit</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120173?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 12:22:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b343f459-7b00-499b-9382-ff5e20000f53</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&amp;quot;getting some errors&amp;quot; is not exactly helpful to understand what is going on!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120160?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 10:02:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:857c97ee-d6e5-4269-993a-7c32646ba431</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!crAppCollateral_cdt: rule!CR_APP_QE_getAppCollateralForDocGeneration(
    cif_int: ri!cif_int,
    collateralFlag_int: 0,
    requestId_int: ri!requestId_int
  ),
  local!crCustDoc_cdt: rule!CR_CUST_QE_getCustomerDocDataBasedOnFilters(
    cif_int: ri!cif_int,
    requestId_int: ri!requestId_int,
    sourceRowId_int: index(local!crAppCollateral_cdt, &amp;quot;id_int&amp;quot;, &amp;quot;&amp;quot;)
  ),
  local!download: index(
    local!crAppCollateral_cdt,
    wherecontains(
      index(local!crAppCollateral_cdt, &amp;quot;id_int&amp;quot;, &amp;quot;&amp;quot;),
      index(
        local!crCustDoc_cdt,
        &amp;quot;sourceRowId_int&amp;quot;,
        &amp;quot;&amp;quot;
      )
    )
  ),
  local!docid: a!forEach(
    items: local!crAppCollateral_cdt,
    expression: 
    index(
      local!crCustDoc_cdt,
      wherecontains(tointeger(index(fv!item,&amp;quot;id_int&amp;quot;,&amp;quot;&amp;quot;)),tointeger(index(local!crCustDoc_cdt,&amp;quot;sourceRowId_int&amp;quot;,{}))),
      &amp;quot;docId_int&amp;quot;,
      &amp;quot;&amp;quot;
    ),


  ),
  a!gridField(
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    data: local!crAppCollateral_cdt,
    columns: {
      a!gridColumn(
        label: &amp;quot;Collateral Type&amp;quot;,
        value: index(fv!row, &amp;quot;collateralDescription_txt&amp;quot;)
      ),
      a!gridColumn(
        label: &amp;quot;Collateral Type Detail&amp;quot;,
        value: index(fv!row, &amp;quot;collateralTypeDescription_txt&amp;quot;)
      ),
      a!gridColumn(
        label: &amp;quot;conventional&amp;quot;,
        value: a!linkField(
          label: if(
            isnull(index(fv!row, &amp;quot;docId_int&amp;quot;, {})),
            &amp;quot;&amp;quot;,
            document(
              documentId: tointeger(
                index(
                  local!crCustDoc_cdt,
                  wherecontains(
                    index(fv!row, &amp;quot;id_int&amp;quot;, &amp;quot;&amp;quot;),
                    tointeger(
                      index(
                        local!crCustDoc_cdt,
                        &amp;quot;sourceRowId_int&amp;quot;,
                        &amp;quot;&amp;quot;
                      )
                    )
                  ),
                  &amp;quot;docId_int&amp;quot;,
                  &amp;quot;&amp;quot;
                ),

              ),
              property: &amp;quot;name&amp;quot;
            )
          ),
          links: a!documentDownloadLink(
            label: if(
              isnull(index(fv!row, &amp;quot;docId_int&amp;quot;, {})),
              &amp;quot;&amp;quot;,
              document(
                documentId: index(fv!row, &amp;quot;docId_int&amp;quot;, {}),
                property: &amp;quot;name&amp;quot;
              )
            ),
            document: index(fv!row, &amp;quot;docId_int&amp;quot;, {})
          )
        )
      ),
     
    }
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am following this way to get lists of document from the crcustDoc_cdt and trying to map with crCollateral_cdt. But getting some errors. Could you please help me on this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120159?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 08:07:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1060df2d-293b-4b48-a632-eddbe566dbb1</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;Use the below code to display download icon, using wherecontains pass the document Id inside document.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!gridColumn(&lt;br /&gt; label: &amp;quot;conventional&amp;quot;,&lt;br /&gt; value: a!richTextDisplayField(&lt;br /&gt; value: a!richTextIcon(&lt;br /&gt; icon: &amp;quot;download&amp;quot;,&lt;br /&gt; linkStyle: &amp;quot;STANDALONE&amp;quot;,&lt;br /&gt; link: a!documentDownloadLink(&lt;br /&gt; document: 1&lt;br /&gt; )&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: RE: Display UI</title><link>https://community.appian.com/thread/120158?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 07:59:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b0397a1b-eefd-4b19-b6a4-f6134087f89d</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;yes it is available in the table.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120157?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 07:57:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46ffcb4a-786e-4a50-b9f1-aef3d37329ac</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;Is Document Id&amp;nbsp; available in&amp;nbsp;crCustDoc_cdt ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120156?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 07:54:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69d571d9-4d12-4838-a25c-9846032f43c0</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Its to download the documents, which is available for the type of tracker.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120155?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 07:51:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f07c7e17-9e79-4ea4-8c09-0b9f213c100a</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;Tell me the exact purpose of using icon in these two columns. what will be the work of download icon here.&lt;/p&gt;
&lt;p&gt;Or you just need to show download icon.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/120154?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 07:11:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2622346c-0c10-4291-823f-dae7775a51c9</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/rishikeshr0001"&gt;Rishikesh Raj&lt;/a&gt;, I have some relation between two tables(Id from one table and sourceId from other table), Using I need to show download Icon for 2 columns. ￼&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1696489350852v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;* For the first 2 columns, I will be showing the data by querying from another table. Help me on this code.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;span&gt;Please suggest on priority&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!crAppCollateral_cdt: rule!CR_APP_QE_getAppCollateralForDocGeneration(
    cif_int: ri!cif_int,
    collateralFlag_int: 0,
    requestId_int: ri!requestId_int
  ),
  local!crCustDoc_cdt: rule!CR_CUST_QE_getCustomerDocDataBasedOnFilters(
    cif_int: ri!cif_int,
    requestId_int: ri!requestId_int,
    sourceRowId_int: index(local!crAppCollateral_cdt, &amp;quot;id_int&amp;quot;, &amp;quot;&amp;quot;)
  ),
  a!gridField(
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    data: local!crAppCollateral_cdt,
    columns: {
      a!gridColumn(
        label: &amp;quot; Type&amp;quot;,
        value: index(
          fv!row,
          &amp;quot;collateralDescription_txt&amp;quot;
        )
      ),
      a!gridColumn(
        label: &amp;quot; Type Detail&amp;quot;,
        value: index(
          fv!row,
          &amp;quot;collateralTypeDescription_txt&amp;quot;
        )
      ),
      a!gridColumn(
        label: &amp;quot;Conventional&amp;quot;,
       ###here I need to show download icon###
      ),
      a!gridColumn(
        label: &amp;quot;Non Conventional&amp;quot;,
        ###download icon here as well###
        
      )
    }
  )
)&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/119967?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 14:11:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cdde6d59-f27c-43a3-8158-c87d18e295f2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1695996642037v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/119966?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 13:38:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:938ea17a-7e9c-4ed5-be41-25dc2d158df8</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;yes thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/119962?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 12:29:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e94f147d-672d-4e32-a93e-00d5926b4c3a</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;Here I have used two different record having some relation between them. I believe in your case also the tables must have some relation with each others.&lt;br /&gt;You can have a rough idea from here, if that helps you.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1695990498318v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!tickets: rule!PM_QR(&lt;br /&gt; recordType: &amp;#39;recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets&amp;#39;,&lt;br /&gt; filters: a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{2eb8bdc6-97a3-4a70-81ae-3fdbb1268306}projectId&amp;#39;,&lt;br /&gt; operator: &amp;quot;=&amp;quot;,&lt;br /&gt; value: 1&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; local!ticketAdditionaldetails: rule!PM_QR(&lt;br /&gt; recordType: &amp;#39;recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details&amp;#39;,&lt;br /&gt; filters: a!queryFilter(&lt;br /&gt; field: &amp;#39;recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details.fields.{6cd53353-96fb-424f-afdf-34de7e66cbff}ticketId&amp;#39;,&lt;br /&gt; operator: &amp;quot;IN&amp;quot;,&lt;br /&gt; value: local!tickets['recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{df9c3dbf-550e-4d8f-a54e-8f2d372d3eee}id']&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; a!gridField(&lt;br /&gt; data: local!tickets,&lt;br /&gt; columns: {&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Ticket Id&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{df9c3dbf-550e-4d8f-a54e-8f2d372d3eee}id']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Title&amp;quot;,&lt;br /&gt; value: fv!row['recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{6b0b4ddd-a48f-4b11-b1f5-be442dd9ac82}title']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Story Points&amp;quot;,&lt;br /&gt; value: index(&lt;br /&gt; local!ticketAdditionaldetails,&lt;br /&gt; wherecontains(&lt;br /&gt; fv!row['recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{df9c3dbf-550e-4d8f-a54e-8f2d372d3eee}id'],&lt;br /&gt; tointeger(&lt;br /&gt; local!ticketAdditionaldetails['recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details.fields.{6cd53353-96fb-424f-afdf-34de7e66cbff}ticketId']&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; {}&lt;br /&gt; )['recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details.fields.{0e12c3d6-ae60-4548-83b1-6b040b0cd93d}reporter']&lt;br /&gt; ),&lt;br /&gt; a!gridColumn(&lt;br /&gt; label: &amp;quot;Status Id&amp;quot;,&lt;br /&gt; value: index(&lt;br /&gt; local!ticketAdditionaldetails,&lt;br /&gt; wherecontains(&lt;br /&gt; fv!row['recordType!{5f0bd786-7684-4f3e-aff0-378836d403d9}PM Tickets.fields.{df9c3dbf-550e-4d8f-a54e-8f2d372d3eee}id'],&lt;br /&gt; tointeger(&lt;br /&gt; local!ticketAdditionaldetails['recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details.fields.{6cd53353-96fb-424f-afdf-34de7e66cbff}ticketId']&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; {}&lt;br /&gt; )['recordType!{ee57e7bb-821c-4d98-8707-82bcf2fe8216}PM Tickets Additional Details.fields.{e30c84f7-1c08-4684-9fa5-53233700a3a4}status']&lt;br /&gt; )&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: RE: Display UI</title><link>https://community.appian.com/thread/119961?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 12:21:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1ead6b0-c7d8-4bde-8ae0-f83c9f8ad484</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Can I get reference code Please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE: Display UI</title><link>https://community.appian.com/thread/119960?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 12:09:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09c2d636-38e7-4528-8d8a-3cf3d5093a81</guid><dc:creator>Rishikesh Raj</dc:creator><description>&lt;p&gt;You can restructure the list in a dictionary format using different CDTs and make the grid run on a local variable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>