<?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>question Re: How to query for related list for location in SAM forum</title>
    <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290985#M853</link>
    <description>&lt;P&gt;In my experience, it is best to add rooms and sometimes cubes within rooms to the location hierarchy under a building or floor. Thus, they are actual locations in the location hierarchy tree that can be selected in the location field.&lt;/P&gt;
&lt;P&gt;Once the location is standardized, you can run a report off of the Asset table showing all of the records in the same room, much like the baseline stockroom modules behave.&amp;nbsp;&amp;nbsp;Or, because of the baseline Location attribute on the Asset record, there is a related list available which you can add to the Location form. It is called Asset-&amp;gt;Location.&amp;nbsp; If you navigate to the Location form, then choose Configure Related Lists from the right-click menu, you can add the Asset-&amp;gt;Location related list to the form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 16:54:04 GMT</pubDate>
    <dc:creator>Daniel Slocum</dc:creator>
    <dc:date>2022-08-01T16:54:04Z</dc:date>
    <item>
      <title>How to query for related list for location</title>
      <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290982#M850</link>
      <description>&lt;P&gt;I would like to display list of assets associated to specific location (eg room).&amp;nbsp; I tried updating the related list view for cmn_location, but I dont see how you "join" other tables (eg other custom asset tables) that have location for the room defined.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 14:26:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290982#M850</guid>
      <dc:creator>nowguru</dc:creator>
      <dc:date>2022-07-28T14:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to query for related list for location</title>
      <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290983#M851</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;you cannot "join" related lists. If you need a joined view, you have to create a database view. But without any more details, I cannot tell how.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 14:39:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290983#M851</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2022-07-28T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to query for related list for location</title>
      <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290984#M852</link>
      <description>&lt;P&gt;Thanks for quick reply Maik.&amp;nbsp; For all of our custom hardware assets, I have associated a location (ie room) for each asset.&amp;nbsp; I would like to be able to see all of the hardware assets that have the location set for specific room.&amp;nbsp; We have created a dashboard that a user can filter for a specific room to see all the different types of assets, but I was hoping that the user could just open the room location and see the assets that are related to the room (via location field) under the related list.&lt;/P&gt;
&lt;P&gt;The default view for related list of the location shows the parent location value - in my case building, but as you said, it wont show you data in other tables.&amp;nbsp; What are pros/cons of creating custom view vs creating custom relationship and associating the location with the various custom hardware assets?&lt;/P&gt;
&lt;P&gt;It seems strange that no else has had this requirement before against location field&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 18:48:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290984#M852</guid>
      <dc:creator>nowguru</dc:creator>
      <dc:date>2022-07-28T18:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to query for related list for location</title>
      <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290985#M853</link>
      <description>&lt;P&gt;In my experience, it is best to add rooms and sometimes cubes within rooms to the location hierarchy under a building or floor. Thus, they are actual locations in the location hierarchy tree that can be selected in the location field.&lt;/P&gt;
&lt;P&gt;Once the location is standardized, you can run a report off of the Asset table showing all of the records in the same room, much like the baseline stockroom modules behave.&amp;nbsp;&amp;nbsp;Or, because of the baseline Location attribute on the Asset record, there is a related list available which you can add to the Location form. It is called Asset-&amp;gt;Location.&amp;nbsp; If you navigate to the Location form, then choose Configure Related Lists from the right-click menu, you can add the Asset-&amp;gt;Location related list to the form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 16:54:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290985#M853</guid>
      <dc:creator>Daniel Slocum</dc:creator>
      <dc:date>2022-08-01T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to query for related list for location</title>
      <link>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290986#M854</link>
      <description>&lt;P&gt;Thank you Daniel.&amp;nbsp; Your last statement was what I was looking for!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 17:34:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sam-forum/how-to-query-for-related-list-for-location/m-p/1290986#M854</guid>
      <dc:creator>nowguru</dc:creator>
      <dc:date>2022-08-04T17:34:45Z</dc:date>
    </item>
  </channel>
</rss>

