<?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>article Scramble Sensitive Data In Qlik Sense Enterprise for Windows in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Sense-Enterprise-for-Windows/ta-p/1714424</link>
    <description>&lt;P&gt;Qlik Sense data files (.QVF) may contain sensitive organizational data.&amp;nbsp; &lt;SPAN&gt;&lt;SPAN&gt;As such, even though Qlik Technical Support has a very strict Non-Disclosure Agreement, it may be desired to&amp;nbsp; scrambled specific data before submitting apps Qlik Sense support for investigation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, data scrambling is not available as a feature in the current&amp;nbsp;Qlik Sense product.&lt;/P&gt;
&lt;P&gt;This document shares a method and related scripts on how to scramble sensitive data in Qlik Sense app, until the feature is built into Qlik Sense Enterprise for Windows. For scrambling in Qlik Cloud, check &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Cloud/ta-p/2001828" target="_blank" rel="noopener"&gt;this article&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;To access the examples, visit the &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Scramble-Sensitive-Data-In-Qlik-Sense/ta-p/1573751" target="_blank" rel="noopener"&gt;community post &lt;/A&gt;or download it from &lt;A href="https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-enterprise-documents/3814/1/scramble%20sense.zip" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If working via the Qlik Sense server's Hub, duplicate the Qlik Sense app (qvf. file) to have data scrambled/replaced.&lt;/LI&gt;
&lt;LI&gt;Make a file copy of the duplicated App which will have the data scrambled. You can export a copy via the Qlik Management Console &lt;STRONG&gt;(QMC) &amp;gt; Apps&lt;/STRONG&gt; if performing this task on the Qlik Sense server.&lt;/LI&gt;
&lt;LI&gt;Store it into a location that can be reached by a Folder Data Connection as the binary data source.&lt;/LI&gt;
&lt;LI&gt;Review the&amp;nbsp;app and work out the list of fields (and related tables) that you want to scramble. Replace the contents in metadata file &lt;STRONG&gt;sample scramble.xlsx&lt;/STRONG&gt; with list.&lt;/LI&gt;
&lt;LI&gt;Save the modified&amp;nbsp;Excel file into the same location of&amp;nbsp;binary data source mentioned in step 3. Please make sure to NOT&amp;nbsp;change the column title or sheet name in Excel file;&lt;/LI&gt;
&lt;LI&gt;Download attached &lt;STRONG&gt;scramble.qvs&lt;/STRONG&gt;&amp;nbsp;file and also save it into the same location of binary data source;&lt;/LI&gt;
&lt;LI&gt;On the duplicated app which needs to have the scrambled data, remove or comment out the entire load script.&lt;/LI&gt;
&lt;LI&gt;Create a Folder Data Connection named "&lt;FONT face="courier new,courier"&gt;Binary&lt;/FONT&gt;" that points to the binary load source location;&lt;/LI&gt;
&lt;LI&gt;If working on the Qlik Sense server Hub, the system will automatically name the connection as "&lt;FONT face="courier new,courier"&gt;Binary (&amp;lt;usernname&amp;gt;)&lt;/FONT&gt;". Make sure this connection gets renamed to only "&lt;FONT face="courier new,courier"&gt;Binary&lt;/FONT&gt;" under &lt;STRONG&gt;QMC &amp;gt; Data Connections&lt;/STRONG&gt;. Otherwise, the system added username string&amp;nbsp;will cause an error when running the script later.&lt;/LI&gt;
&lt;LI&gt;Paste the following script into the app script editor before any other script statement including the SET variable statements (which should have been removed or commented out). Substitute with the file names stored in the Binary data source location accordingly.
&lt;PRE&gt;Binary lib://Binary/&amp;lt;filename&amp;gt;.qvf;
 
$(Include=lib://Binary/scramble.qvs);
 
CALL Scramble('&amp;lt;name of metadatafile&amp;gt;.xlsx');&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Reload the duplicated app and review the result.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ScrambleData.gif" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45448i460EC52EA7F7EC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScrambleData.gif" alt="ScrambleData.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Other consideration:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If Qlik Sense has "Legacy Mode" enabled, above steps 1~6 can be skipped and use file path directly in the load script in step 7, for example code as below:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Binary C:\Users\xxx\abc\&amp;lt;filename&amp;gt;.qvf;
 
$(Include=C:\Users\xxx\abc\scramble.qvs);
 
CALL Scramble('C:\Users\xxx\abc\&amp;lt;name of metadatafile&amp;gt;.xlsx');&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;NOTE:&amp;nbsp;Sometime sensitive data such as organization name will also be in metadata's table or field name. User will need to manually call &lt;FONT face="courier new,courier"&gt;rename()&lt;/FONT&gt; function in load script to remove it;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content:&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Ideas/Data-masking/idi-p/1514514" target="_blank" rel="noopener"&gt;Idea / Feature Request - Data Masking&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Cloud/ta-p/2001828" target="_self"&gt;&lt;SPAN&gt;Scramble Sensitive Data In Qlik Cloud&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Also check &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://www.linkedin.com/pulse/data-scrambling-qlik-sense-taieb-somai/" target="_blank" rel="noopener"&gt;this link&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for an alternative scrambling method using the APIs and the DevHub.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To access the examples, visit the &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Scramble-Sensitive-Data-In-Qlik-Sense/ta-p/1573751" target="_blank" rel="noopener"&gt;community post &lt;/A&gt;&lt;SPAN&gt;or download it from &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-enterprise-documents/3814/1/scramble%20sense.zip" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 15:37:08 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-11-08T15:37:08Z</dc:date>
    <item>
      <title>Scramble Sensitive Data In Qlik Sense Enterprise for Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Sense-Enterprise-for-Windows/ta-p/1714424</link>
      <description>&lt;P&gt;Qlik Sense data files (.QVF) may contain sensitive organizational data.&amp;nbsp; &lt;SPAN&gt;&lt;SPAN&gt;As such, even though Qlik Technical Support has a very strict Non-Disclosure Agreement, it may be desired to&amp;nbsp; scrambled specific data before submitting apps Qlik Sense support for investigation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, data scrambling is not available as a feature in the current&amp;nbsp;Qlik Sense product.&lt;/P&gt;
&lt;P&gt;This document shares a method and related scripts on how to scramble sensitive data in Qlik Sense app, until the feature is built into Qlik Sense Enterprise for Windows. For scrambling in Qlik Cloud, check &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Cloud/ta-p/2001828" target="_blank" rel="noopener"&gt;this article&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;To access the examples, visit the &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Scramble-Sensitive-Data-In-Qlik-Sense/ta-p/1573751" target="_blank" rel="noopener"&gt;community post &lt;/A&gt;or download it from &lt;A href="https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-enterprise-documents/3814/1/scramble%20sense.zip" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If working via the Qlik Sense server's Hub, duplicate the Qlik Sense app (qvf. file) to have data scrambled/replaced.&lt;/LI&gt;
&lt;LI&gt;Make a file copy of the duplicated App which will have the data scrambled. You can export a copy via the Qlik Management Console &lt;STRONG&gt;(QMC) &amp;gt; Apps&lt;/STRONG&gt; if performing this task on the Qlik Sense server.&lt;/LI&gt;
&lt;LI&gt;Store it into a location that can be reached by a Folder Data Connection as the binary data source.&lt;/LI&gt;
&lt;LI&gt;Review the&amp;nbsp;app and work out the list of fields (and related tables) that you want to scramble. Replace the contents in metadata file &lt;STRONG&gt;sample scramble.xlsx&lt;/STRONG&gt; with list.&lt;/LI&gt;
&lt;LI&gt;Save the modified&amp;nbsp;Excel file into the same location of&amp;nbsp;binary data source mentioned in step 3. Please make sure to NOT&amp;nbsp;change the column title or sheet name in Excel file;&lt;/LI&gt;
&lt;LI&gt;Download attached &lt;STRONG&gt;scramble.qvs&lt;/STRONG&gt;&amp;nbsp;file and also save it into the same location of binary data source;&lt;/LI&gt;
&lt;LI&gt;On the duplicated app which needs to have the scrambled data, remove or comment out the entire load script.&lt;/LI&gt;
&lt;LI&gt;Create a Folder Data Connection named "&lt;FONT face="courier new,courier"&gt;Binary&lt;/FONT&gt;" that points to the binary load source location;&lt;/LI&gt;
&lt;LI&gt;If working on the Qlik Sense server Hub, the system will automatically name the connection as "&lt;FONT face="courier new,courier"&gt;Binary (&amp;lt;usernname&amp;gt;)&lt;/FONT&gt;". Make sure this connection gets renamed to only "&lt;FONT face="courier new,courier"&gt;Binary&lt;/FONT&gt;" under &lt;STRONG&gt;QMC &amp;gt; Data Connections&lt;/STRONG&gt;. Otherwise, the system added username string&amp;nbsp;will cause an error when running the script later.&lt;/LI&gt;
&lt;LI&gt;Paste the following script into the app script editor before any other script statement including the SET variable statements (which should have been removed or commented out). Substitute with the file names stored in the Binary data source location accordingly.
&lt;PRE&gt;Binary lib://Binary/&amp;lt;filename&amp;gt;.qvf;
 
$(Include=lib://Binary/scramble.qvs);
 
CALL Scramble('&amp;lt;name of metadatafile&amp;gt;.xlsx');&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;Reload the duplicated app and review the result.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ScrambleData.gif" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45448i460EC52EA7F7EC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScrambleData.gif" alt="ScrambleData.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Other consideration:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If Qlik Sense has "Legacy Mode" enabled, above steps 1~6 can be skipped and use file path directly in the load script in step 7, for example code as below:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Binary C:\Users\xxx\abc\&amp;lt;filename&amp;gt;.qvf;
 
$(Include=C:\Users\xxx\abc\scramble.qvs);
 
CALL Scramble('C:\Users\xxx\abc\&amp;lt;name of metadatafile&amp;gt;.xlsx');&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;NOTE:&amp;nbsp;Sometime sensitive data such as organization name will also be in metadata's table or field name. User will need to manually call &lt;FONT face="courier new,courier"&gt;rename()&lt;/FONT&gt; function in load script to remove it;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content:&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Ideas/Data-masking/idi-p/1514514" target="_blank" rel="noopener"&gt;Idea / Feature Request - Data Masking&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Cloud/ta-p/2001828" target="_self"&gt;&lt;SPAN&gt;Scramble Sensitive Data In Qlik Cloud&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Also check &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://www.linkedin.com/pulse/data-scrambling-qlik-sense-taieb-somai/" target="_blank" rel="noopener"&gt;this link&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for an alternative scrambling method using the APIs and the DevHub.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To access the examples, visit the &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Qlik-Sense-Enterprise-Documents/Scramble-Sensitive-Data-In-Qlik-Sense/ta-p/1573751" target="_blank" rel="noopener"&gt;community post &lt;/A&gt;&lt;SPAN&gt;or download it from &lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/cyjdu72974/attachments/cyjdu72974/qlik-sense-enterprise-documents/3814/1/scramble%20sense.zip" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Scramble-Sensitive-Data-In-Qlik-Sense-Enterprise-for-Windows/ta-p/1714424</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-11-08T15:37:08Z</dc:date>
    </item>
  </channel>
</rss>

