<?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 Unified hub - cleaning up old Nprinting reports and QlikView links in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/ta-p/1492446</link>
    <description>&lt;P&gt;In our environment we linked both QlikView documents and Nprinting reports within the unified hub interface of Qlik Sense. However, these links did not get removed at all, which was making the interface not very user-friendly.&lt;/P&gt;
&lt;P&gt;If an actual report is removed from NP server, the report stays on the server. This is reported as a bug (OP-6802). The below text contains a work-around.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;There is a major difference between the Nprinting reports within Unified hub and QlikView documents.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;With Nprinting reports - Qlik Sense Proxy acts as a - proxy. The URL would indicate that the report is coming from the Qlik Sense Server. The URL here for a report would be e.g. &lt;A title="https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx" href="https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx" target="_blank" rel="noopener"&gt;https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;With QlikView document links - Qlik Sense just adds a link to the direct report. The URL to which the link took you would be e.g. &lt;A title="http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME" href="http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME" target="_blank" rel="noopener"&gt;http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME&lt;/A&gt; .&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can read more about unified hub on the help site: &lt;A title="http://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Hub/reports-nprinting.htm" href="http://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Hub/reports-nprinting.htm" target="_blank" rel="noopener"&gt;Qlik NPrinting reports in Qlik Sense ‒ Qlik Sense&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&lt;IMG style="font-size: 13.3333px;" class="jive-image image-1" src="/legacyfs/online/189898_20180112 131137-20180110 082839-Qlik Sense.png - Windows Photo Viewer.png" border="0" alt="20180112 131137-20180110 082839-Qlik Sense.png - Windows Photo Viewer.png" /&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Deleting the links for the Nprinting reports&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Attached is a PowerShell script which &lt;SPAN&gt;checks if there is a valid task for the report, which in case it stays. ( &lt;EM&gt;cleaning_Nprinting_reports_on_hub.ps1&lt;/EM&gt; ). Your account running this service must have the rights to see all the shared content on the server. A solution could be to add the following security rule (for shared content):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Resource-filter: SharedContent_*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Actions: Create, Read&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Conditions: &lt;/SPAN&gt;&lt;SPAN&gt;((user.userId like "*" and resource.owner.userId=user.userId)) or ((user.userId="SERVICEACCOUNT"))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Context: hub and QMC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first part of the script ensures that only users can see what is posted to them, and noone else. The second part ensures that the service account (running the attached PowerShell script), can see all objects.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;The script is first using QS APIs to verify which reports exists on the hub, to find the metadata-tag for which task-id it was generated with. The script then uses this task-id for the report and cross-checks using NPrinting APIs to check if the tasks actually exists, where upon it either does nothing or removes the report on the QS hub.&lt;/P&gt;
&lt;P&gt;If there is no task, the report is removed.&lt;/P&gt;
&lt;P&gt;If there is a task but the user is just removed from the task, the old report will stay, you will then need to either clean manually or clean all. Most of the times - it doesn't matter as the user is looking at old information which he/she once had access to.&lt;/P&gt;
&lt;P&gt;"Created date" within the Qlik Sense hub section "Reports", means the date when the first link was established.&lt;/P&gt;
&lt;P&gt;Any report update timestamps will not be shown in the "created date", meaning it is a good practice to keep date/time within the report. &lt;SPAN&gt;There are no dynamic report names within the hub, or Newsstand, only email and such.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The script can be scheduled with Windows Task Scheduler, e.g. once a day to clean up links. Usually it only finds links on the very first run, or if something is changed.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;It is possible to just clean all the Report links with another script ( &lt;EM&gt;just_clean_everything_on_hub-reports.ps1 &lt;/EM&gt;). That script is only based on QRS API. It is not recommended to just look in the folder of C:\&amp;lt;QlikRoot&amp;gt;\StaticContent\SharedContent and use the ID there to process the DELETE API command, as some reports is still available on the hub. The ID there though, e.g. C:\&amp;lt;QlikRoot&amp;gt;\StaticContent\SharedContent\&lt;STRONG&gt;e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a&lt;/STRONG&gt;&lt;SPAN&gt; corresponds to the id in the URL &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://QLIKSENSESERVER/sharedcontent/" target="_blank" rel="nofollow noopener"&gt;https://QLIKSENSESERVER/sharedcontent/&lt;/A&gt;&lt;STRONG&gt;e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a&lt;/STRONG&gt;/20180110T090524Z/report01.xlsx .&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Deleting the links for the QlikView Documents.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;There is also a cleaning script for QlikView Doc links to remove all links ( &lt;EM&gt;just_remove_everything_on_hub-qlikdoclinks.ps1 &lt;/EM&gt;). Naturally this can be modified to only use a specific folder or similar by using the WHERE command within the pipe of the PowerShell script. The service account requires access to all links (see above for security rule).&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Currently it is not possible to unpublish from the Qlik Sense Hub. As a work-around, you can modify the distribution task to distribute only to a single administrative user which will remove the links to the QlikView documents from other user’s view.&lt;/P&gt;
&lt;P&gt;The end-user can within the Qlik Sense hub section of "QlikView Documents", also right click &amp;gt; Delete.&lt;/P&gt;
&lt;P&gt;Any changes to a QlikView task will create a second link, setting up a Unified hub link should thus be the last thing you do when scheduling.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Changelog:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Version 1.0 - &lt;SPAN&gt;2018-01-12 (&lt;SPAN&gt;Initial version)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;The scripts are tested with Qlik Sense September 2017 and Nprinting September 2017&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 02 Dec 2022 08:04:51 GMT</pubDate>
    <dc:creator>ergustafsson</dc:creator>
    <dc:date>2022-12-02T08:04:51Z</dc:date>
    <item>
      <title>Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/ta-p/1492446</link>
      <description>&lt;P&gt;In our environment we linked both QlikView documents and Nprinting reports within the unified hub interface of Qlik Sense. However, these links did not get removed at all, which was making the interface not very user-friendly.&lt;/P&gt;
&lt;P&gt;If an actual report is removed from NP server, the report stays on the server. This is reported as a bug (OP-6802). The below text contains a work-around.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;There is a major difference between the Nprinting reports within Unified hub and QlikView documents.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;With Nprinting reports - Qlik Sense Proxy acts as a - proxy. The URL would indicate that the report is coming from the Qlik Sense Server. The URL here for a report would be e.g. &lt;A title="https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx" href="https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx" target="_blank" rel="noopener"&gt;https://QLIKSENSESERVER/sharedcontent/e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a/20180110T090524Z/report01.xlsx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;With QlikView document links - Qlik Sense just adds a link to the direct report. The URL to which the link took you would be e.g. &lt;A title="http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME" href="http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME" target="_blank" rel="noopener"&gt;http://QLIKVIEWSERVER/QvAJAXZfc/opendoc.htm?document=FOLDER%2FDOCUMENT.qvw&amp;amp;host=QVS%40SERVERNAME&lt;/A&gt; .&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can read more about unified hub on the help site: &lt;A title="http://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Hub/reports-nprinting.htm" href="http://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Hub/reports-nprinting.htm" target="_blank" rel="noopener"&gt;Qlik NPrinting reports in Qlik Sense ‒ Qlik Sense&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&lt;IMG style="font-size: 13.3333px;" class="jive-image image-1" src="/legacyfs/online/189898_20180112 131137-20180110 082839-Qlik Sense.png - Windows Photo Viewer.png" border="0" alt="20180112 131137-20180110 082839-Qlik Sense.png - Windows Photo Viewer.png" /&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Deleting the links for the Nprinting reports&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Attached is a PowerShell script which &lt;SPAN&gt;checks if there is a valid task for the report, which in case it stays. ( &lt;EM&gt;cleaning_Nprinting_reports_on_hub.ps1&lt;/EM&gt; ). Your account running this service must have the rights to see all the shared content on the server. A solution could be to add the following security rule (for shared content):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Resource-filter: SharedContent_*&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Actions: Create, Read&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Conditions: &lt;/SPAN&gt;&lt;SPAN&gt;((user.userId like "*" and resource.owner.userId=user.userId)) or ((user.userId="SERVICEACCOUNT"))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Context: hub and QMC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first part of the script ensures that only users can see what is posted to them, and noone else. The second part ensures that the service account (running the attached PowerShell script), can see all objects.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;The script is first using QS APIs to verify which reports exists on the hub, to find the metadata-tag for which task-id it was generated with. The script then uses this task-id for the report and cross-checks using NPrinting APIs to check if the tasks actually exists, where upon it either does nothing or removes the report on the QS hub.&lt;/P&gt;
&lt;P&gt;If there is no task, the report is removed.&lt;/P&gt;
&lt;P&gt;If there is a task but the user is just removed from the task, the old report will stay, you will then need to either clean manually or clean all. Most of the times - it doesn't matter as the user is looking at old information which he/she once had access to.&lt;/P&gt;
&lt;P&gt;"Created date" within the Qlik Sense hub section "Reports", means the date when the first link was established.&lt;/P&gt;
&lt;P&gt;Any report update timestamps will not be shown in the "created date", meaning it is a good practice to keep date/time within the report. &lt;SPAN&gt;There are no dynamic report names within the hub, or Newsstand, only email and such.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The script can be scheduled with Windows Task Scheduler, e.g. once a day to clean up links. Usually it only finds links on the very first run, or if something is changed.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;It is possible to just clean all the Report links with another script ( &lt;EM&gt;just_clean_everything_on_hub-reports.ps1 &lt;/EM&gt;). That script is only based on QRS API. It is not recommended to just look in the folder of C:\&amp;lt;QlikRoot&amp;gt;\StaticContent\SharedContent and use the ID there to process the DELETE API command, as some reports is still available on the hub. The ID there though, e.g. C:\&amp;lt;QlikRoot&amp;gt;\StaticContent\SharedContent\&lt;STRONG&gt;e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a&lt;/STRONG&gt;&lt;SPAN&gt; corresponds to the id in the URL &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://QLIKSENSESERVER/sharedcontent/" target="_blank" rel="nofollow noopener"&gt;https://QLIKSENSESERVER/sharedcontent/&lt;/A&gt;&lt;STRONG&gt;e86dfdfd-a0d4-4cc4-9053-ce9ce1a53c8a&lt;/STRONG&gt;/20180110T090524Z/report01.xlsx .&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Deleting the links for the QlikView Documents.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;There is also a cleaning script for QlikView Doc links to remove all links ( &lt;EM&gt;just_remove_everything_on_hub-qlikdoclinks.ps1 &lt;/EM&gt;). Naturally this can be modified to only use a specific folder or similar by using the WHERE command within the pipe of the PowerShell script. The service account requires access to all links (see above for security rule).&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Currently it is not possible to unpublish from the Qlik Sense Hub. As a work-around, you can modify the distribution task to distribute only to a single administrative user which will remove the links to the QlikView documents from other user’s view.&lt;/P&gt;
&lt;P&gt;The end-user can within the Qlik Sense hub section of "QlikView Documents", also right click &amp;gt; Delete.&lt;/P&gt;
&lt;P&gt;Any changes to a QlikView task will create a second link, setting up a Unified hub link should thus be the last thing you do when scheduling.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Changelog:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Version 1.0 - &lt;SPAN&gt;2018-01-12 (&lt;SPAN&gt;Initial version)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;The scripts are tested with Qlik Sense September 2017 and Nprinting September 2017&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 02 Dec 2022 08:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/ta-p/1492446</guid>
      <dc:creator>ergustafsson</dc:creator>
      <dc:date>2022-12-02T08:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1492447#M943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for all this.&amp;nbsp; All I had been able to find for cleaning up Qlikview documents was articles about going into the repository database directly; and I wasn't really fond of doing that!&amp;nbsp; The comment in this article that helped me was the part about "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;As a work-around, you can modify the distribution task to distribute only to a single administrative user which will remove the links to the QlikView documents from other user’s view."&amp;nbsp; Since I was decommissioning the Qlikview document (and I'm the administrator) it was ok for me to remove all others from the distribution of the Qlikview task except myself.&amp;nbsp; I was then able to go into the Qlik Sense hub and delete the document from the my "Qlikview Documents" stream.&amp;nbsp; Mission accomplished!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I'm sure I could have spent more time figuring out how to modify the provided script to only delete one Qlikview document but the process I followed was very understandable and allowed me to use normal QMC activities.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 17:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1492447#M943</guid>
      <dc:creator>lkartchner</dc:creator>
      <dc:date>2018-09-18T17:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1683795#M944</link>
      <description>&lt;P&gt;This seems to have been fixed in April 2018 release, see&amp;nbsp; &amp;nbsp;&lt;A href="https://da3hntz84uekx.cloudfront.net/NPrinting/18.9.5/18950/Qlik%20NPrinting%20April%202018%20Release%20Notes.pdf" target="_blank"&gt;https://da3hntz84uekx.cloudfront.net/NPrinting/18.9.5/18950/Qlik%20NPrinting%20April%202018%20Release%20Notes.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 14:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1683795#M944</guid>
      <dc:creator>ergustafsson</dc:creator>
      <dc:date>2020-03-11T14:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925449#M945</link>
      <description>&lt;P&gt;First of all I realise I am replying to a very old thread, but since Qlik has still not properly solved this issue as far as I can find anywhere. I would like very much to implement your solution. It is the only post about this that I can find that seems to present an actual solution.&lt;BR /&gt;&lt;BR /&gt;However I get the following issue:&lt;BR /&gt;&lt;STRONG&gt;The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. powershell&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;If I try to circumvent it, it just seems to run with no result. Any ideas?&lt;/P&gt;
&lt;P&gt;I am trying to delete orphan (or all) NPrinting Reports from the hub, because users are now seeing up to 10 (or more) old invalid report links in their hub.&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;MK&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 08:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925449#M945</guid>
      <dc:creator>bm_mk</dc:creator>
      <dc:date>2022-05-03T08:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925541#M946</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/10711"&gt;@bm_mk&lt;/a&gt;&amp;nbsp; I believe it is due to TLS earlier than version 1.2 being used. Try adding:&lt;/P&gt;
&lt;P&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/P&gt;
&lt;P&gt;..at the start of the script.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 10:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925541#M946</guid>
      <dc:creator>ergustafsson</dc:creator>
      <dc:date>2022-05-03T10:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925565#M947</link>
      <description>&lt;P&gt;Unfortunately no, although it does seem to change the error message (below).&lt;BR /&gt;Thanks for your reply and perhaps I will try this again at a later time.&lt;BR /&gt;&lt;BR /&gt;Invoke-RestMethod : The remote server returned an error: (403) Forbidden.&lt;BR /&gt;At line:25 char:9&lt;BR /&gt;+ $irmm = Invoke-RestMethod -Uri $url -Method GET -ContentType 'application/json' ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException&lt;BR /&gt;+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 14:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925565#M947</guid>
      <dc:creator>bm_mk</dc:creator>
      <dc:date>2022-05-03T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925605#M948</link>
      <description>&lt;P&gt;Does similar script statements work?&lt;/P&gt;
&lt;P&gt;Can you connect to the QRS API in other scripts and/or the NPrinting API?&lt;/P&gt;
&lt;P&gt;Get that to work first, even the most basic connectivity, to ensure that the error does not lie in this script &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 12:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925605#M948</guid>
      <dc:creator>ergustafsson</dc:creator>
      <dc:date>2022-05-03T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925630#M949</link>
      <description>&lt;P&gt;QRS API yes of course &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; many working processes although only with very simple Qlik-Cli functions - the NPrinting API unfortunately no other examples / no working processes in our environment.&lt;BR /&gt;&lt;BR /&gt;But it helps that you think that may be where the error lies, I will discuss this with one of my colleagues to see if I overlooked something!&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 14:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1925630#M949</guid>
      <dc:creator>bm_mk</dc:creator>
      <dc:date>2022-05-03T14:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unified hub - cleaning up old Nprinting reports and QlikView links</title>
      <link>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1926702#M950</link>
      <description>&lt;P&gt;Thank you we got it working! Although we ended up using a different connection method and the Qlik-Cli module, but we built on your idea &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 08:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/Unified-hub-cleaning-up-old-Nprinting-reports-and-QlikView-links/tac-p/1926702#M950</guid>
      <dc:creator>bm_mk</dc:creator>
      <dc:date>2022-05-05T08:20:14Z</dc:date>
    </item>
  </channel>
</rss>

