<?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>How to validate CSV column headers on file upload in Appian?</title><link>https://community.appian.com/discussions/f/user-interface/39662/how-to-validate-csv-column-headers-on-file-upload-in-appian</link><description>I have a requirement where users upload a CSV file, and I need to validate whether the column headers match a predefined template before parsing it into a CDT. Is there a way in Appian to check headers during file upload, preferably before running readcsvlogtoCDT</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to validate CSV column headers on file upload in Appian?</title><link>https://community.appian.com/thread/151234?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 09:02:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7e67f48-68c5-4d90-9743-7d10ae970a02</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can use the function&amp;nbsp;&lt;strong class="StrongText---richtext_strong"&gt;validatedocumentheaders()&lt;/strong&gt; from Excel Tools plugin to achieve the expected functionality.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to validate CSV column headers on file upload in Appian?</title><link>https://community.appian.com/thread/151233?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 08:53:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ca08c12-8b34-4b9c-b0d7-c4102bb3d6a9</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Use the previewcsvforimport() function from the Excel Tools plugin with the numberOfRows parameter set to 1, which will read only the first row containing the CSV headers. Extract these headers and compare them against your predefined CDT fields or expected header list or&amp;nbsp;validatedocumentheaders().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>