<?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>Prepopulating  Data</title><link>https://community.appian.com/discussions/f/general/21638/prepopulating-data</link><description>I have a reference CDT for organization details. Here my requirements are when I select an organization name the tax id and address should be prepopulated. 
 Is there any way to get this requirement done!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Prepopulating  Data</title><link>https://community.appian.com/thread/86280?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 07:41:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3619603-274d-4a6f-82a6-0757a4ad26c1</guid><dc:creator>Venkataswethapokuri</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
local!organisationName:cons!ST_LABEL_ORGANISATION_NAME,  
local!organisationTaxID:cons!ST_ORGANISATION_TAXID_VALUES,
local!organisationAddress:cons!ST_ORGANISATION_ADDRESS,

  
  {
  a!sectionLayout(
    label: &amp;quot;Section&amp;quot;,
    contents: {
      a!columnsLayout(
        columns: {
          a!columnLayout(
            contents: {
              a!sideBySideLayout(
                items: {
                  a!sideBySideItem(
                    item: a!dropdownField(
                      label: &amp;quot;Organisation Name&amp;quot;,
                      labelPosition: &amp;quot;ABOVE&amp;quot;,
                      placeholder: &amp;quot;--- Select a Value ---&amp;quot;,
                      choiceLabels: {local!organisationName},
                      choiceValues: {local!organisationName},
                      value: ri!organisationName,
                      saveInto: {
                        ri!organisationName,
                        if(isnull(ri!organisationName),
                      {a!save(ri!organisationTaxID,null)
                      
                     },{}),
                      {a!save(ri!organisationTaxID,local!organisationTaxID),
                      if(isnull(ri!organisationName),
                      {a!save(ri!organisationAddress,null)

                      },{}),
                      {a!save(ri!organisationAddress,local!organisationAddress)
                      }
                      
                      
                      }},
                      searchDisplay: &amp;quot;AUTO&amp;quot;,
                      validations: {}
                    )
                  )
                }
              ),
              a!textField(
                label: &amp;quot;Organisation Tax ID&amp;quot;,
                labelPosition: &amp;quot;ADJACENT&amp;quot;,
                value:{
                 ri!organisationTaxID
                },
                saveInto: {
                  ri!organisationTaxID
                },
                refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                readOnly: true,
                validations: {}
              )
            }
          ),
          a!columnLayout(
            contents: {
              a!sideBySideLayout(
                items: {
                  a!sideBySideItem(
                    item: a!floatingPointField(
                      label: &amp;quot;Donation Amount&amp;quot;,
                      labelPosition: &amp;quot;ABOVE&amp;quot;,
                      saveInto: {},
                      refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                      validations: {}
                    )
                  )
                }
              ),
              a!textField(
                label: &amp;quot;Organisation Address&amp;quot;,
                labelPosition: &amp;quot;ADJACENT&amp;quot;,
                value:ri!organisationAddress,
                saveInto: {ri!organisationAddress},
                refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                readonly:true(),
                validations: {}
              )
              
            }
          )
        }
      )
    }
  )
})&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here I used constants, instead of that use lookup tables and store values in the tables, query the data by using expression rules based on the primary key of the lookup tables.&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/prepopulating.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prepopulating  Data</title><link>https://community.appian.com/thread/84601?ContentTypeID=1</link><pubDate>Sat, 14 Aug 2021 19:09:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2ca0af2-e693-40f3-93e7-c43eeb32b304</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;If you are using picker field then you can save the primary key of selected organization and using that you can query other information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prepopulating  Data</title><link>https://community.appian.com/thread/84597?ContentTypeID=1</link><pubDate>Sat, 14 Aug 2021 16:41:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86d3edee-6190-4369-825d-42fcdd529704</guid><dc:creator>gaddamv0001</dc:creator><description>&lt;p&gt;Oh okay, thank you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The selection of the organization would be the picker field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prepopulating  Data</title><link>https://community.appian.com/thread/84596?ContentTypeID=1</link><pubDate>Sat, 14 Aug 2021 16:19:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4df5835b-101c-402d-b188-3441672fdd7b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You did not write how you select the organization, but in general, in a saveInto you can fetch data based on entered data from any source and store it in a rule input or local and display it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>