<?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>Reading Column Header values from Excel</title><link>https://community.appian.com/discussions/f/plug-ins/17511/reading-column-header-values-from-excel</link><description>Hi Team 
 
 How can we read the Column Header values from Excel sheet? 
 
 
 I have a requirement to read the employeeid, firstname, lastname from excel and store in CDT. 
 
 Thanks in Advance 
 Divya</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Reading Column Header values from Excel</title><link>https://community.appian.com/thread/69368?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 21:54:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ebdab350-d3ad-4b47-a162-d0dcee507a76</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I believe this is a rule found in the Excel Tools plug-in.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading Column Header values from Excel</title><link>https://community.appian.com/thread/69367?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 19:11:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e25f4b7-a2eb-411a-a66d-58402cfd50e5</guid><dc:creator>prabum0001</dc:creator><description>&lt;p&gt;I could not see&amp;nbsp;&lt;span&gt;readexcelsheet this option in the expression rule. Do I need to upgrade to newer version?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading Column Header values from Excel</title><link>https://community.appian.com/thread/68997?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 06:48:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:158921be-8216-4977-9e0a-5e5859782ee1</guid><dc:creator>bhanuprakash1303</dc:creator><description>&lt;p&gt;instead of giving startRow:2, have to give startRow:1 and please be maintain cdt structure employee id as string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading Column Header values from Excel</title><link>https://community.appian.com/thread/68983?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 12:47:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18bc1d3b-a9b0-4b50-9b95-789dde056717</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;You can use&amp;nbsp;readexcelsheet() to get data from excel .&lt;/p&gt;
&lt;p&gt;then by using that data you can construct CDT,.&lt;/p&gt;
&lt;p&gt;load(&lt;br /&gt; local!data: readexcelsheet(&lt;br /&gt; excelDocument: todocument(&lt;br /&gt; 123&lt;br /&gt; ),&lt;br /&gt; sheetNumber: 0,&lt;br /&gt; startRow: 2&lt;br /&gt; ),&lt;br /&gt; a!forEach(&lt;br /&gt; items: local!data.result,&lt;br /&gt; expression: type!cdt(&lt;br /&gt; employeeid: index(&lt;br /&gt; local!data.result[fv!index].values,&lt;br /&gt; 1,&lt;br /&gt; null&lt;br /&gt; ),&lt;br /&gt; firstname: index(&lt;br /&gt; local!data.result[fv!index].values,&lt;br /&gt; 2,&lt;br /&gt; null&lt;br /&gt; ),&lt;br /&gt; lastname: index(&lt;br /&gt; local!data.result[fv!index].values,&lt;br /&gt; 3,&lt;br /&gt; null&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></channel></rss>