<?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 How to find a related list back end name? in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610273#M182052</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need to hide a related list based on field1 value. My related list name "Test Requests", i have written the below code. It is not working.&lt;/P&gt;
&lt;P&gt;function onLoad() {&lt;BR /&gt; //Type appropriate comment here, and begin script below&lt;BR /&gt; if (g_form.getValue('u_request') == 'test') {&lt;BR /&gt; g_form.hideRelatedList('test_requests');&lt;BR /&gt; } else {&lt;BR /&gt; g_form.hideRelatedList('test_requests');&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sirraj&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 07:19:21 GMT</pubDate>
    <dc:creator>Community Alums</dc:creator>
    <dc:date>2020-12-03T07:19:21Z</dc:date>
    <item>
      <title>How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610273#M182052</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need to hide a related list based on field1 value. My related list name "Test Requests", i have written the below code. It is not working.&lt;/P&gt;
&lt;P&gt;function onLoad() {&lt;BR /&gt; //Type appropriate comment here, and begin script below&lt;BR /&gt; if (g_form.getValue('u_request') == 'test') {&lt;BR /&gt; g_form.hideRelatedList('test_requests');&lt;BR /&gt; } else {&lt;BR /&gt; g_form.hideRelatedList('test_requests');&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sirraj&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 07:19:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610273#M182052</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-12-03T07:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610274#M182053</link>
      <description>&lt;P&gt;Hi Sirraj,&lt;/P&gt;
&lt;P&gt;You can follow these steps:&lt;/P&gt;
&lt;P&gt;1) Search in navigator&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36122iA634038E51674043/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2) Search by your table and view(if any)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36118i2D3B60ACAFFAF621/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp;Open&amp;nbsp;the required record and you will find backend name of related list as in image.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36117i55B9AACBE263B1E8/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark helpful if it solves the purpose&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 07:45:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610274#M182053</guid>
      <dc:creator>Shivani Singh1</dc:creator>
      <dc:date>2020-12-03T07:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610275#M182054</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="838e8ea9dbd41fc09c9ffb651f96192e"&gt;@Sirraj&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to configure the list control for that related list&lt;/P&gt;
&lt;P&gt;Then pick the name from there&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36119i79EB07DDFCA67480/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36120iCF5977F2FA474817/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 07:54:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610275#M182054</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-12-03T07:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610276#M182055</link>
      <description>&lt;P&gt;Hi Ankur,&lt;/P&gt;
&lt;P&gt;I am getting kind of sys_id as shown below, can i use the same?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36121iC49F6AE795C95C21/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding,&lt;/P&gt;
&lt;P&gt;Sirraj&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:01:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610276#M182055</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-12-03T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610277#M182056</link>
      <description>&lt;P&gt;Hi Shivani,&lt;/P&gt;
&lt;P&gt;I am getting sys_id kind of thing. Not names.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:02:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610277#M182056</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-12-03T08:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610278#M182057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;then use that in the function&lt;/P&gt;
&lt;P&gt;Since that may be the defined relationships so it shows in that syntax&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:03:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610278#M182057</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-12-03T08:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610279#M182058</link>
      <description>&lt;P&gt;Hi Sirraj,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the screenshot provided it seems it is a custom relationshipt that is created &amp;amp; thus will show sys_id &amp;amp; is an expected behavior.&lt;/P&gt;
&lt;P&gt;Unsure about the reason but possibly it is to differentiate between custom &amp;amp; OOB available relationships.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:05:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610279#M182058</guid>
      <dc:creator>Jaspal Singh</dc:creator>
      <dc:date>2020-12-03T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610280#M182059</link>
      <description>&lt;P&gt;Yes, that worked. So its an expected behaviour only rite? if names are not showing i can use that sysid?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:20:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610280#M182059</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-12-03T08:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610281#M182060</link>
      <description>&lt;P&gt;Hi Jaspal,&lt;/P&gt;
&lt;P&gt;Yes its a custom one and i have used the same in my code. So like this i can code rite?&lt;/P&gt;
&lt;P&gt;if (g_form.getValue('u_requesttype') == 'test') {&lt;BR /&gt; g_form.hideRelatedList('REL:90bb91381bc06c90a28aec223e4bcb7e');&lt;BR /&gt; } else {&lt;BR /&gt; g_form.hideRelatedList('REL:90bb91381bc06c90a28aec223e4bcb7e');&lt;BR /&gt; }&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:22:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610281#M182060</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2020-12-03T08:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610282#M182061</link>
      <description>&lt;P&gt;Ok, that means it's a custom related list so it will show sys-id. Modify it to:&lt;/P&gt;
&lt;P&gt;Related list name :&amp;nbsp;&lt;A class="linked formlink" href="https://dev86080.service-now.com/sys_ui_related_list_entry.do?sys_id=8c0ad06adbdca050f8f780876896196e&amp;amp;sysparm_record_target=sys_ui_related_list_entry&amp;amp;sysparm_record_row=10&amp;amp;sysparm_record_rows=10&amp;amp;sysparm_record_list=list_id%3D080a9ce6dbdca050f8f780876896193c"&gt;REL:9d7c170acba7330016e9582df8076d7d&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;then modify script to&lt;/P&gt;
&lt;P&gt;g_form.hideRelatedList('&lt;A class="linked formlink" href="https://dev86080.service-now.com/sys_ui_related_list_entry.do?sys_id=8c0ad06adbdca050f8f780876896196e&amp;amp;sysparm_record_target=sys_ui_related_list_entry&amp;amp;sysparm_record_row=10&amp;amp;sysparm_record_rows=10&amp;amp;sysparm_record_list=list_id%3D080a9ce6dbdca050f8f780876896193c"&gt;REL:9d7c170acba7330016e9582df8076d7d&lt;/A&gt;');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:27:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610282#M182061</guid>
      <dc:creator>Shivani Singh1</dc:creator>
      <dc:date>2020-12-03T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a related list back end name?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610283#M182062</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="838e8ea9dbd41fc09c9ffb651f96192e"&gt;@Sirraj&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to know that my response helped.&lt;/P&gt;
&lt;P&gt;Yes that should be fine to use that sys_id.&lt;/P&gt;
&lt;P&gt;Yes it is known behavior.&lt;/P&gt;
&lt;P&gt;For defined relationship that is the syntax&lt;/P&gt;
&lt;P&gt;Let me know if I have answered your question.&lt;BR /&gt;&lt;BR /&gt;If so, please mark appropriate response as correct &amp;amp; helpful so that this thread can be closed and others can be benefited by this.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:10:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-find-a-related-list-back-end-name/m-p/610283#M182062</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-12-03T09:10:32Z</dc:date>
    </item>
  </channel>
</rss>

