<?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 Limit the dropdown list of &amp;quot;Transfer Case&amp;quot; UI action in backend. in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/1327647#M19102</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to limit the dropdown values of the field "New HR Service" to show only the Main Service. Can someone tell me how can we do it?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/132540iF305940F6C131B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2022 07:13:35 GMT</pubDate>
    <dc:creator>anirban300</dc:creator>
    <dc:date>2022-08-21T07:13:35Z</dc:date>
    <item>
      <title>Limit the dropdown list of "Transfer Case" UI action in backend.</title>
      <link>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/1327647#M19102</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to limit the dropdown values of the field "New HR Service" to show only the Main Service. Can someone tell me how can we do it?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/132540iF305940F6C131B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 07:13:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/1327647#M19102</guid>
      <dc:creator>anirban300</dc:creator>
      <dc:date>2022-08-21T07:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the dropdown list of "Transfer Case" UI action in backend.</title>
      <link>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/1327648#M19103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You have to modify the UI page "Transfer Case".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Open Ui Page "Transfer Case". Replace &amp;lt;YOUR INSTANCE NAME&amp;gt; with actual name of instance to access the UI page.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;YOUR INSTANCE URL&amp;gt;.service-now.com/nav_to.do?uri=sys_ui_page.do?sys_id=452f10e42f131200b3c9a310c18c9511" target="_blank" rel="noopener"&gt;https://&amp;lt;YOUR INSTANCE NAME&amp;gt;.service-now.com/nav_to.do?uri=sys_ui_page.do?sys_id=452f10e42f131200b3c9a310c18c9511&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. In the HTML editor, scroll down to line 21.&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;var gr = new GlideRecord('sn_hr_core_service');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;3. Add a new line to apply a filter of your choice. Right now it's taking all the values from the sn_hr_core_service table&lt;/P&gt;
&lt;P&gt;EXAMPLE FILTER (ENCODED QUERY)&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;gr.addEncodedQuery("topic_detail=eea6c7cd9f321200d9011977677fcf41");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;You can modify the filter as per your needs.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;4. Save the page and New HR Service will display the filtered list.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Please note that this modification is about customizing the OOB UI page so please ensure during upgrades you have to manage this yourself. Servicenow won't upgrade this UI page automatically.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this as helpful/correct, if applicable.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Muhammad&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 08:09:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/1327648#M19103</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2022-08-21T08:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the dropdown list of "Transfer Case" UI action in backend.</title>
      <link>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/2649382#M31368</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this but it did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone having any another solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance..!!!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 09:26:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/limit-the-dropdown-list-of-quot-transfer-case-quot-ui-action-in/m-p/2649382#M31368</guid>
      <dc:creator>Rameshwar Bera3</dc:creator>
      <dc:date>2023-08-22T09:26:20Z</dc:date>
    </item>
  </channel>
</rss>

