<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Field not found in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274571#M26306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried removing some xml files, and left only 2 out of the original 5. For these 2 I checked the exact field name in each by loading them separately using the "add data" wizard. Field name seems to be correct for both files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error still generated, after 20 minutes of loading. Any clues? Could it be something related to the back-up files that Qlik might generate in the PC's system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Field Name.png" class="jive-image image-1" src="/legacyfs/online/157662_Qlik Field Name.png" style="width: 620px; height: 248px;" /&gt;&lt;IMG alt="Qlik Field Name 2.png" class="jive-image image-2" src="/legacyfs/online/157663_Qlik Field Name 2.png" style="width: 620px; height: 217px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 08:46:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-27T08:46:29Z</dc:date>
    <item>
      <title>Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274567#M26302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am very new to Qlik Sense. Any help on the below would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload a specific variable from multiple XML files. Please note the variable in question in all files has the same heading as listed in the script. The script has worked before, so have no clue why this error is being generated only now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached pic shows the error being generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the script. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ZLoadDirectory = '[lib://Qlik_ExtractsForLoading/]';&lt;/P&gt;&lt;P&gt;SUB LoadDirectory (ZLoadDirectory)&lt;/P&gt;&lt;P&gt;FOR each Repository in 'TR_1', 'TR_2', 'TR_3', 'TR_4', 'TR_5'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR each File in filelist (ZLoadDirectory &amp;amp; '$(Repository)' &amp;amp; '.xml')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TRACE $(File)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TR]:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileName() as fileName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [New/CmonTradData/TxData/UnqTradIdr] AS UTI&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From [$(File)] &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (xml, embedded labels, table is [BizData/Pyld/Document/EMIRTradRpt/TradData/Rpt/Tx])&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Len([New/CmonTradData/TxData/UnqTradIdr]) &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT File&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT Repository&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR each Dir in dirlist (ZLoadDirectory&amp;amp;'\*')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL LoadDirectory(Dir)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT Dir&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;END SUB&lt;/P&gt;&lt;P&gt;CALL LoadDirectory (ZLoadDirectory)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 11:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274567#M26302</guid>
      <dc:creator />
      <dc:date>2017-03-24T11:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274568#M26303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any pic attached... can you reattach the picture of the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 13:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274568#M26303</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-24T13:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274569#M26304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 06:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274569#M26304</guid>
      <dc:creator />
      <dc:date>2017-03-27T06:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274570#M26305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This error came up after 51 minutes... my guess is that may be one of the files have an extra space or mis-spelling for the field name.... I am not sure what would be an easy way, but you can try to run the script in different batches of XML file to see which one gives this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 08:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274570#M26305</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T08:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274571#M26306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried removing some xml files, and left only 2 out of the original 5. For these 2 I checked the exact field name in each by loading them separately using the "add data" wizard. Field name seems to be correct for both files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error still generated, after 20 minutes of loading. Any clues? Could it be something related to the back-up files that Qlik might generate in the PC's system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Field Name.png" class="jive-image image-1" src="/legacyfs/online/157662_Qlik Field Name.png" style="width: 620px; height: 248px;" /&gt;&lt;IMG alt="Qlik Field Name 2.png" class="jive-image image-2" src="/legacyfs/online/157663_Qlik Field Name 2.png" style="width: 620px; height: 217px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 08:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274571#M26306</guid>
      <dc:creator />
      <dc:date>2017-03-27T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274572#M26307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are screenshots when you are still adding these files... what happens when they show on the script? Add them and check if you see any extra spaces in one of the two scripts for that particular field name.... &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Could it be something related to the back-up files that Qlik might generate in the PC's system?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure about this... have not worked with Qlik Sense a lot to answer this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 09:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274572#M26307</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274573#M26308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally realised what the problem was! It had nothing to do with the variable names. The type of file in the script should read "XmlSimple" and not "xml". Therefore, the "from" bit of the script should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ...&amp;nbsp; From [$(File)] &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;EM&gt;&lt;STRONG&gt;XmlSimple&lt;/STRONG&gt;&lt;/EM&gt;, embedded labels, table is [BizData/Pyld/Document/EMIRTradRpt/TradData/Rpt/Tx])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Len([New/CmonTradData/TxData/UnqTradIdr]) &amp;gt; 0;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny for the help just the same &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 09:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274573#M26308</guid>
      <dc:creator />
      <dc:date>2017-03-29T09:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274574#M26309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I am glad you finally found your issue &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 11:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found/m-p/1274574#M26309</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-29T11:27:25Z</dc:date>
    </item>
  </channel>
</rss>

