<?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 Removing Mobile Devices from Users - any issue with deleting from devices collection in Mongo? in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Removing-Mobile-Devices-from-Users-any-issue-with-deleting-from/m-p/2128306#M1800</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have already posted in Ideation about having front end admin rights to remove devices associated with specific users as an Admin, having looked at the mongo collections for a different issue, i can see the devices collection and am assuming an aggregation query on the owner field &amp;gt; user collection would give me who has a given device (apologies I'd never looked at mongo syntax before yesterday so if I'm mislabelling anything I can only apologise). Would deleting said objects from the devices collection work or would it break something?&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;this would be the query to look at the owners of said devices&lt;/P&gt;
&lt;P&gt;db.devices.aggregate([{&lt;BR /&gt;$lookup:{&lt;BR /&gt;from:"users",&lt;BR /&gt;localField: "owner",&lt;BR /&gt;foreignField: "_id",&lt;BR /&gt;as: "OwnerInfo"&lt;BR /&gt;}&lt;BR /&gt;}])&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;ta&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 15:57:23 GMT</pubDate>
    <dc:creator>dwqlik82</dc:creator>
    <dc:date>2025-01-29T15:57:23Z</dc:date>
    <item>
      <title>Removing Mobile Devices from Users - any issue with deleting from devices collection in Mongo?</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Removing-Mobile-Devices-from-Users-any-issue-with-deleting-from/m-p/2128306#M1800</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have already posted in Ideation about having front end admin rights to remove devices associated with specific users as an Admin, having looked at the mongo collections for a different issue, i can see the devices collection and am assuming an aggregation query on the owner field &amp;gt; user collection would give me who has a given device (apologies I'd never looked at mongo syntax before yesterday so if I'm mislabelling anything I can only apologise). Would deleting said objects from the devices collection work or would it break something?&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;this would be the query to look at the owners of said devices&lt;/P&gt;
&lt;P&gt;db.devices.aggregate([{&lt;BR /&gt;$lookup:{&lt;BR /&gt;from:"users",&lt;BR /&gt;localField: "owner",&lt;BR /&gt;foreignField: "_id",&lt;BR /&gt;as: "OwnerInfo"&lt;BR /&gt;}&lt;BR /&gt;}])&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;ta&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Removing-Mobile-Devices-from-Users-any-issue-with-deleting-from/m-p/2128306#M1800</guid>
      <dc:creator>dwqlik82</dc:creator>
      <dc:date>2025-01-29T15:57:23Z</dc:date>
    </item>
  </channel>
</rss>

