<?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: QDC/QS AD users: different “UserID” format in Catalog and Lineage</title>
    <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673166#M172</link>
    <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;
&lt;P&gt;So Alex Colombo created a fix and you can add this code to any of the applist.js, createQlikApp.js and updateExistingApp.js scripts to fix your problem.&lt;/P&gt;
&lt;P&gt;This will make sure that you only use username if its in the format of username@domain.com:&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;var userId = process.argv[4];&lt;BR /&gt;var nameParts = userId.split("@");&lt;BR /&gt;var userId = nameParts.length==2 ? nameParts[0] : userId;&lt;/PRE&gt;
&lt;P&gt;or if you would like to deconstruct 1stname.lastname@domain.com into a lastname1stname format:&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;var userId = process.argv[4];&lt;BR /&gt;...&lt;BR /&gt;var dot = userId.indexOf(".");&lt;BR /&gt;var at = userId.indexOf("@");&lt;BR /&gt;&lt;BR /&gt;var name = userId.substr(0, dot);&lt;BR /&gt;var lenghtSurname = at - dot - 1;&lt;BR /&gt;var surname = userId.substr(dot + 1, lenghtSurname);&lt;BR /&gt;&lt;BR /&gt;userId = surname+name;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Does this help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Hordy&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 20:54:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-06T20:54:55Z</dc:date>
    <item>
      <title>QDC/QS AD users: different “UserID” format</title>
      <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1672647#M164</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a single node installation of QDC September_2019_SR2.&lt;/P&gt;&lt;P&gt;We are setting Qlik Sense integration to enable "Publish to Qlik" feature and we experience the following blocking issue.&lt;/P&gt;&lt;P&gt;Both QDC and QS are synchronized with our AD, but referring to the “UserID” field, QDC populate its database considering username and domain name (UserID=username@domain.local) while QS register only the username (UserID=username).&lt;/P&gt;&lt;P&gt;I attach screenshots from both applications (attachments 1 &amp;amp; 2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering the above, any domain user who wants to use the “Publish to Qlik” feature, will cause the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the QDC entity will be published using the UserID in QDC format (UserID=username@domain.local) who on QS side becomes the owner of the object;&lt;/LI&gt;&lt;LI&gt;ever during the publication phase, the above UserID is passed from QDC to QS which fails to recognize it in this format and proceeds by creating a new entry in the Users list (see the attachment 3);&lt;/LI&gt;&lt;LI&gt;at the end of the publication phase, QDC would like to open automatically (using a QS URL) the App just published but without success, also in this case due of the UserID inherited from QDC during this process;&lt;/LI&gt;&lt;LI&gt;the user who log in QS (or who is already logged in) with his own AD credentials is recognized in the QS format (UserID=username) and will never see the objects published via QDC (which in fact have a different UserID owner).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As proof of the above, if I proceed by setting a specific Username for the “podium.qlik.username” entry in the “core_env.properties” file, all works properly (obviously the user must respect the format of Qlik Sense).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is it possible to have QDC “UserID” list populated in the same format as QS “UserID” list (UserID=username) during synchronization with AD?&lt;/P&gt;&lt;P&gt;Which settings need to be changed?&lt;/P&gt;&lt;P&gt;Your suggestions will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 22:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1672647#M164</guid>
      <dc:creator>Br1</dc:creator>
      <dc:date>2021-12-07T22:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: QDC/QS AD users: different “UserID” format</title>
      <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673166#M172</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;
&lt;P&gt;So Alex Colombo created a fix and you can add this code to any of the applist.js, createQlikApp.js and updateExistingApp.js scripts to fix your problem.&lt;/P&gt;
&lt;P&gt;This will make sure that you only use username if its in the format of username@domain.com:&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;var userId = process.argv[4];&lt;BR /&gt;var nameParts = userId.split("@");&lt;BR /&gt;var userId = nameParts.length==2 ? nameParts[0] : userId;&lt;/PRE&gt;
&lt;P&gt;or if you would like to deconstruct 1stname.lastname@domain.com into a lastname1stname format:&lt;/P&gt;
&lt;PRE class="c-mrkdwn__pre" data-stringify-type="pre"&gt;var userId = process.argv[4];&lt;BR /&gt;...&lt;BR /&gt;var dot = userId.indexOf(".");&lt;BR /&gt;var at = userId.indexOf("@");&lt;BR /&gt;&lt;BR /&gt;var name = userId.substr(0, dot);&lt;BR /&gt;var lenghtSurname = at - dot - 1;&lt;BR /&gt;var surname = userId.substr(dot + 1, lenghtSurname);&lt;BR /&gt;&lt;BR /&gt;userId = surname+name;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Does this help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Hordy&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 20:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673166#M172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-06T20:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: QDC/QS AD users: different “UserID” format</title>
      <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673457#M173</link>
      <description>&lt;P&gt;Hi Hordy, Alex,&lt;/P&gt;&lt;P&gt;I just tried by adding your fix code of 1st scenario (QS use only username as UserID) to the createQlikApp.js&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var userId = process.argv[4];&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var nameParts = userId.split("@");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;var userId = nameParts.length==2 ? nameParts[0] : userId;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the "Publish to Qlik" feature works properly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 18:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673457#M173</guid>
      <dc:creator>Br1</dc:creator>
      <dc:date>2020-02-07T18:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: QDC/QS AD users: different “UserID” format</title>
      <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673965#M174</link>
      <description>&lt;P&gt;Hi Hordy,&lt;/P&gt;&lt;P&gt;could you please ask your Technical Support team to make the fix available in the next QDC release?&lt;/P&gt;&lt;P&gt;Obviously if it doesn't already exist in version 4.4.2 (in the Release Notes I found only the ID note n.11588 which is not so clear about it).&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1673965#M174</guid>
      <dc:creator>Br1</dc:creator>
      <dc:date>2020-02-10T15:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: QDC/QS AD users: different “UserID” format</title>
      <link>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1674099#M175</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;
&lt;P&gt;I have let the product team know and they are working on a fix to make it customer configurable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Hordy&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 19:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Catalog-and-Lineage/QDC-QS-AD-users-different-UserID-format/m-p/1674099#M175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-10T19:53:06Z</dc:date>
    </item>
  </channel>
</rss>

