<?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>Read excel and validate and cancel upload</title><link>https://community.appian.com/discussions/f/data/19567/read-excel-and-validate-and-cancel-upload</link><description>Hi community, 
 I have a a!fileUploadComponent(). A user can upload an excel file. Now if any of the rows of column &amp;#39;A&amp;#39; or column &amp;#39;B&amp;#39; is empty then the excel should not be uploaded. A validation message must be shown to the user. Please help me. 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Read excel and validate and cancel upload</title><link>https://community.appian.com/thread/76480?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 18:21:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:536045f9-a8ee-4cec-b03c-22b1183ca4bd</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This will not be possible without building it in such a way that the user submits the form between the file being uploaded and the validation being performed.&amp;nbsp; The reason is that you can&amp;#39;t do any operations on the uploaded file until it&amp;#39;s been moved out of the temporary system-side folder where Appian stores all new uploads, in which we do not have permission to access documents or perform.&lt;/p&gt;
&lt;p&gt;The simple solution will be to make the user upload and then click a button/link to &amp;quot;commit&amp;quot; the upload where such actually causes the form to submit, run through validation node(s), and loop back to the task again.&amp;nbsp; The user won&amp;#39;t notice they&amp;#39;ve left the task, but you&amp;#39;ll be able to perform operations you need.&amp;nbsp; If the file is invalid, you will need to manually delete it within the process subsequently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>