<?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>Create fields by uploading the excel files</title><link>https://community.appian.com/discussions/f/general/23959/create-fields-by-uploading-the-excel-files</link><description>Hi team, 
 I have scenario where I need to upload the excel documents, By using the excel data, I should get the data into my interface. example in the below format, 
 
 1.I should get the drop down to the Field type component (if i give the drop down</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Create fields by uploading the excel files</title><link>https://community.appian.com/thread/92351?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 07:04:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e345a055-85fc-44a3-88de-1585ae6a98de</guid><dc:creator>mamathak0001</dc:creator><description>&lt;p&gt;But I have one issue that is when I am constructing my CDT getting the null values can you please suggest me how to remove null from the current item and should get the mapping key for that&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!row:readexcelimportfile(
    ri!documentId,
    0,
    1,
    5
  ),
  
  local!surveyOptionsData:
  a!forEach(
    items: local!row.result.values,
    expression: a!forEach(
      items: fv!item[4],
    expression:
    a!forEach(
      items: split(fv!item,&amp;quot;|&amp;quot;),
    expression: a!localVariables(
      local!check: 
      if(
      a!isNullOrEmpty(fv!item),
      0,
      fv!item),
    &amp;#39;type!{urn:com:appian:types:DSC}DSC_surveyFieldOption&amp;#39;(
      optionName:local!check,
     mappingKey:fv!itemCount,
      sortInfo: fv!index
    )
    )
      
    
   
)
  ),
  ),
  local!surveyOptionsData


)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1647500660159v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create fields by uploading the excel files</title><link>https://community.appian.com/thread/92339?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 17:49:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f9d3250-c784-4b50-b3d9-09431d4a49a8</guid><dc:creator>mamathak0001</dc:creator><description>&lt;p&gt;thank you stewart for your reply,I got it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create fields by uploading the excel files</title><link>https://community.appian.com/thread/92218?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:12:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8dced9ec-ee11-4af7-8f25-ab00c109dc18</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;AFAIK when you import data from an Excel document it can only extract the &lt;strong&gt;current value&lt;/strong&gt; of an individual cell, not dynamically query the &lt;strong&gt;type&lt;/strong&gt; of data in a cell. Are the Excel files you want to import not predictable in their content and layout? (if they&amp;#39;re not how will you write any logic to validate, process or store that data?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>