<?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: Re: Qlik Sense &amp; Syntax for Mapping in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753201#M10701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be. Attached you'll find the Excel spreadsheet I'm using. Let me know if you notice anything wrong with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 15:04:05 GMT</pubDate>
    <dc:creator>jcampbell</dc:creator>
    <dc:date>2014-12-02T15:04:05Z</dc:date>
    <item>
      <title>Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753197#M10697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Qlik Sense file in which I'm trying to use a script from a QlikView document wherein I perform some field name changes. Here's the script:&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;MAPPING&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldnames,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newnames&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Lookup Tables\FieldMappings.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is FieldMappings);&lt;/P&gt;&lt;P&gt;RENAME Fields using FieldMap;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not work with Qlik Sense. I tried making a change using the data connection syntax, e.g.&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;MAPPING&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldnames,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newnames&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[lib://Scripts (network_servername)/Lookup Tables/FieldMappings.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is FieldMappings);&lt;/P&gt;&lt;P&gt;RENAME Fields using FieldMap;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did not work either. Any suggestions? The is the last bit to get my script fully functioning in Qlik Sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 17:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753197#M10697</guid>
      <dc:creator>jcampbell</dc:creator>
      <dc:date>2014-12-01T17:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753198#M10698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This did work for me using the lib// syntax .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Book2 below is my data file. It has a field called 'A'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;My mapping load is book1 which has a row for A to rename as B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72473_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script using your code for the mapping load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;FROM [lib://temp/Book2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;mapping &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldnames,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newnames&lt;/P&gt;&lt;P&gt;FROM [lib://temp/Book1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME Fields using FieldMap;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...you can see that the resulting data model did have field 'A' renamed as 'B'&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72474_Capture.PNG.png" style="width: 620px; height: 396px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 18:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753198#M10698</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-01T18:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753199#M10699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added my response to the wrong post earlier. Sorry about that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jonathan,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;Thanks for your help. That's the syntax / format I'm using. I also tried adding it via the UI by selecting it via the wizard in the 'Data load editor' but that results in an error. Please see the attached screen captures.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The debugger doesn't include a very details error either (also attached). I performed a full reload but it didn't reveal much more in the error message.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 20:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753199#M10699</guid>
      <dc:creator>jcampbell</dc:creator>
      <dc:date>2014-12-01T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753200#M10700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I retriedtrying to make every aspect of the mapping load (data connection, file name, sheet name ) etc.. but it still worked for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose it could be your mapping load spreadsheet. Do you want to upload it ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, i am using the updated version 1.0.1 released this month in case you are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other idea is to try your mapping load in a brand new app with a simple example like mine below and work back from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;-----------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;FROM [lib://temp/Book2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;mapping &lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldnames,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newnames&lt;/P&gt;&lt;P&gt;FROM [lib://Scripts (network_servername)/Lookup Tables\FieldMappings.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is FieldMappings);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME Fields using FieldMap;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 01:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753200#M10700</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-02T01:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753201#M10701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be. Attached you'll find the Excel spreadsheet I'm using. Let me know if you notice anything wrong with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 15:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753201#M10701</guid>
      <dc:creator>jcampbell</dc:creator>
      <dc:date>2014-12-02T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Qlik Sense &amp; Syntax for Mapping</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753202#M10702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was finally able to get this to work. I had to do three things:&lt;/P&gt;&lt;P&gt;1. Change the file to an XLS not XLSX.&lt;/P&gt;&lt;P&gt;2. Invert one of the forward slashes in the directory syntax e.g. change "FROM [lib://Scripts (network_servername)/Lookup Tables/FieldMappings.xlsx]" to "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"&gt;[lib://Scripts (network_servername)/Lookup Tables&lt;STRONG&gt;\&lt;/STRONG&gt;FieldMappings.xlsx]&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;3. Change "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(ooxml, embedded labels, table is FieldMappings);&lt;/SPAN&gt;" to "(biff, embedded labels, table is FieldMappings$);"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did the trick. So the final version looks like this:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FieldMap:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MAPPING&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldnames,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newnames&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[lib://Scripts (network_servername)/Lookup Tables\FieldMappings.xlsx]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, table is FieldMappings$);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RENAME Fields using FieldMap;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 15:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Syntax-for-Mapping/m-p/753202#M10702</guid>
      <dc:creator>jcampbell</dc:creator>
      <dc:date>2014-12-02T15:15:21Z</dc:date>
    </item>
  </channel>
</rss>

