<?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>ReadExcelByHeaders</title><link>https://community.appian.com/discussions/f/plug-ins/39547/readexcelbyheaders</link><description>Hi everyone , 
 I have a scenario to use ReadExcelByHeaders. 
 But it is throwing me an error: Expression evaluation error at function &amp;#39;readexcelbyheaders&amp;#39; [line 3]: java.lang.NullPointerException: Cannot invoke &amp;quot;java.util.Map.entrySet()&amp;quot; because &amp;quot;expectedHeaders</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150590?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 10:43:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99ee0e37-4b7d-4eb5-9da8-5031bfb902c2</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;I would recommend if you could need any more details to refer this document for future reference.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/19/readExcelByHeaders_5F00_Function.pdf"&gt;community.appian.com/.../readExcelByHeaders_5F00_Function.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150589?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 10:39:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d68d5a47-965a-4012-a9d4-9b2d6687df3c</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Glad its working now!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150586?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 10:11:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c90a6b18-5307-4407-9332-545d5ab6064a</guid><dc:creator>Anusuya K Mahalingam</dc:creator><description>&lt;p&gt;This is working if we use the header patterns in Matchconfig.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/19/pastedimage1754043068651v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150534?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 09:45:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8cd9aea4-b0c0-44e7-a529-52ada9f94183</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;In database&amp;nbsp;structures column names don&amp;#39;t support spaces. And the excel columns headers also should not have spaces. This is to ensure proper match in case multiple columns are there with similar names. Thats why in standard practice avoid spaces in column/header names. If you are getting spaces dynamically then use functions like trim() to remove the leading/trailing spaces.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150531?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 09:17:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8accb47-315b-4c3b-90d1-729836a97332</guid><dc:creator>Anusuya K Mahalingam</dc:creator><description>&lt;p&gt;If the name has space, it is nor working. Any idea on this Mekala.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150515?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 06:40:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84ee8926-a603-4621-a5f4-a1ac3215dc29</guid><dc:creator>baji mekala</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/anusuyak349977"&gt;Anusuya K Mahalingam&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try this logic. It may help you.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!synonyms: { &amp;quot;CUST_STYLE_1&amp;quot;: { &amp;quot;CUST_STYLE_1&amp;quot; } },
  local!matchConfig: {
    includeUnmatchedColumns: true,
    fuzzyBoost: true
  },
  local!data: readexcelbyheaders(
    excelDocument: todocument(5279),
    expectedHeaders: { a!keys(local!synonyms) },
    headerSynonyms: local!synonyms,
    matchConfig: local!matchConfig
  ),
  local!data
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ReadExcelByHeaders</title><link>https://community.appian.com/thread/150514?ContentTypeID=1</link><pubDate>Thu, 31 Jul 2025 06:40:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51df8a82-7ad0-41a3-a90c-f2dbfad2a839</guid><dc:creator>Anusuya K Mahalingam</dc:creator><description>&lt;p&gt;If Synonyms is passed, this is working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>