<?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 hide Display filter after clicking edit button in related list in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673417#M245196</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to hide Display filter. any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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/38103i6B809C6FEBDE19D6/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;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 14:27:45 GMT</pubDate>
    <dc:creator>Arkesh Kumar</dc:creator>
    <dc:date>2021-03-18T14:27:45Z</dc:date>
    <item>
      <title>How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673417#M245196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to hide Display filter. any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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/38103i6B809C6FEBDE19D6/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;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:27:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673417#M245196</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-18T14:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673418#M245197</link>
      <description>&lt;P&gt;Configure &amp;gt; List Control:&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/38095i6AE32C5F526BBB9B/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;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:49:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673418#M245197</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-03-18T14:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673419#M245198</link>
      <description>&lt;P&gt;Hi Maik,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Omit Filters only makes omit related list filter, and I need to hide after list button clicked.&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/38094i127C95AA395AA058/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;
&lt;P&gt;need to remove after clicking on edit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 14:54:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673419#M245198</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-18T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673420#M245199</link>
      <description>&lt;P&gt;Hi Arkesh,&lt;/P&gt;
&lt;P&gt;sorry you are right. I was too fast &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Basically there is no configuration for that,&amp;nbsp;but you&amp;nbsp;can achieve the goal by creating a customized version of the "Edit" button.&lt;/P&gt;
&lt;P&gt;Stick to the instructions on the following page:&amp;nbsp;&lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=dfe11027db58101023f4a345ca9619fb" target="_blank"&gt;https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=dfe11027db58101023f4a345ca9619fb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And for hiding the condition builder add the following line of code:&lt;/P&gt;
&lt;P&gt;uri.set('jvar_no_filter', 'true');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 03:24:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673420#M245199</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-03-19T03:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673421#M245200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried the given but no luck&lt;/P&gt;
&lt;P&gt;UI action Name: Edit&lt;/P&gt;
&lt;P&gt;Action:&amp;nbsp;m2m_change_edit&lt;/P&gt;
&lt;P&gt;condition:&amp;nbsp;RP.isManyToMany() &amp;amp;&amp;amp; RP.getListControl().isOmitEditButton()&lt;/P&gt;
&lt;P&gt;table: m2m Location Change Request.&lt;/P&gt;
&lt;P&gt;var uri = action.getGlideURI();&lt;BR /&gt;var path = uri.getFileFromPath();&lt;BR /&gt;uri.set('sysparm_m2m_ref', 'current.getTableName()');&lt;BR /&gt;uri.set('sysparm_stack', 'no');&lt;BR /&gt;uri.set('sysparm_collection', 'change_request');&lt;BR /&gt;uri.set('sysparm_collection_label', 'Locations');&lt;BR /&gt;uri.set('sysparm_collection_related_field', 'u_location');&lt;BR /&gt;uri.set('sysparm_collection_related_file', 'cmn_location');&lt;BR /&gt;uri.set('jvar_no_filter', 'true'); //hides filters when the edit button is clicked so it is limited to the below query.&lt;BR /&gt;action.setRedirectURL(uri.toString('sys_m2m_template.do'));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i click on edit. it is throwing alert message no record&amp;nbsp;selected.&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/38093iA9BC37130A7B629C/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;
&lt;P&gt;any issue with script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:12:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673421#M245200</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-19T05:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673422#M245201</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="c9db319bdbdc48d0414eeeb5ca961959"&gt;@Arkesh&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked well for me&lt;/P&gt;
&lt;P&gt;use DOM manipulation + UI Script&lt;/P&gt;
&lt;P&gt;DOM is not recommended.&lt;/P&gt;
&lt;P&gt;1) Create UI Script&lt;/P&gt;
&lt;P&gt;a) Name - hideFilter&lt;/P&gt;
&lt;P&gt;b) UI Type - Desktop&lt;/P&gt;
&lt;P&gt;c) Global - True&lt;/P&gt;
&lt;P&gt;d) Script: Below&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: Ensure you give the proper table name in the indexOf() as per your table on which related list is used&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I was on incident form and clicked on Edit button from Problem related list. You use yours&lt;/P&gt;
&lt;P&gt;So I used sys_target=&lt;STRONG&gt;problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;addLoadEvent(hideButtonsAdd);

function hideButtonsAdd()
{
	if(document.URL.indexOf('sys_target=problem')!=-1) // change the table name "problem" value as per the related list being used by you
	{
		gel("_add").disabled = true;
		gel("_run").disabled = true;
	}
}

&lt;/CODE&gt;&lt;/PRE&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/38091iD88ADBA471C68080/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;
&lt;P&gt;&lt;STRONG&gt;Output: Add Filter and Run Filter is Disabled&lt;/STRONG&gt;&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/38096i3B7D9B1CBAACC415/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;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:31:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673422#M245201</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2021-03-19T05:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673423#M245202</link>
      <description>&lt;P&gt;Hi Arkesh,&lt;/P&gt;
&lt;P&gt;as you have a custom table I cannot reproduce your settings on my PDI, but I think I found at least one problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wrong&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;uri.set('sysparm_m2m_ref', 'current.getTableName()');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Correct&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;uri.set('sysparm_m2m_ref', current.getTableName());&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the error remain please take an existing OOTB "Edit" UI Action for related lists and copy the code. And don't forget the line&lt;STRONG&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;uri.set('jvar_no_filter', 'true');&lt;/SPAN&gt;&lt;/STRONG&gt; for disabling the condition builder&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:49:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673423#M245202</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-03-19T05:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673424#M245203</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;UI Action based approach based on problem table which is related list on Incident table&lt;/P&gt;
&lt;P&gt;1) Visit this OOB UI Action -&amp;gt; Edit on Global Table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;URL:&lt;/STRONG&gt; https://&lt;STRONG&gt;instanceName&lt;/STRONG&gt;.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=7fff4c3d0a0a0b3400ad3f1a1d613f74&lt;/P&gt;
&lt;P&gt;Update as this so that you create new button for your related list table&lt;/P&gt;
&lt;P&gt;a) Action name - sysverb_edit_o2m&lt;STRONG&gt;_problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;b) &lt;STRONG&gt;Condition:&lt;/STRONG&gt; (new GlideRecord(current.getTableName())).canWrite() &amp;amp;&amp;amp; RP.isOneToMany() &amp;amp;&amp;amp; !RP.getListControl().isOmitEditButton() &lt;STRONG&gt;&amp;amp;&amp;amp; current.getTableName() == 'problem'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;c) &lt;STRONG&gt;Script:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;var uri = action.getGlideURI();&lt;BR /&gt;var path = uri.getFileFromPath();&lt;BR /&gt;uri.set('sysparm_m2m_ref', current.getTableName());&lt;BR /&gt;uri.set('sysparm_collection_related_file', current.getTableName());&lt;BR /&gt;uri.set('sysparm_form_type', 'o2m');&lt;BR /&gt;uri.set('sysparm_stack', 'no');&lt;BR /&gt;uri.set('sysparm_query', '');&lt;BR /&gt;&lt;STRONG&gt;uri.set('jvar_no_filter', 'true'); // added new&lt;/STRONG&gt;&lt;BR /&gt;action.setRedirectURL(uri.toString('sys_m2m_template.do'));&lt;/P&gt;
&lt;P&gt;d) Do Insert and Stay&lt;/P&gt;
&lt;P&gt;2) Now Visit the Edit button which is OOB and update the condition as this so that the OOB button is not visible for your table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;URL:&lt;/STRONG&gt; https://&lt;STRONG&gt;instanceName&lt;/STRONG&gt;.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=7fff4c3d0a0a0b3400ad3f1a1d613f74&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Condition:&lt;/STRONG&gt; (new GlideRecord(current.getTableName())).canWrite() &amp;amp;&amp;amp; RP.isOneToMany() &amp;amp;&amp;amp; !RP.getListControl().isOmitEditButton() &lt;STRONG&gt;&amp;amp;&amp;amp; current.getTableName() != 'problem'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;OOB UI Action After changes&lt;/STRONG&gt;&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/38099i253B6AAD9FE898AB/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;
&lt;P&gt;&lt;STRONG&gt;New Edit button&lt;/STRONG&gt;&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/38097i17E0CEABCB97DB5B/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;
&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&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/38098i4A9A7483448CA9DF/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;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 05:57:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673424#M245203</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2021-03-19T05:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673425#M245204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have made, but problem here is we need to filter should work but not able to change based on roles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 06:31:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673425#M245204</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-19T06:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673426#M245205</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;so are you saying this&lt;/P&gt;
&lt;P&gt;1) users with role A should not be able to change the filter&lt;/P&gt;
&lt;P&gt;2) All users without role A should be able to change the filter&lt;/P&gt;
&lt;P&gt;Can you explain this?&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 06:35:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673426#M245205</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2021-03-19T06:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673427#M245206</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Filter should be hide for all users except admin user. and list collector should display only active records to all users&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Arkesh&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 06:40:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673427#M245206</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-19T06:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673428#M245207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can show active records by giving the query&lt;/P&gt;
&lt;P&gt;uri.set('sysparm_query', 'active=true');&lt;/P&gt;
&lt;P&gt;Now coming to hiding/showing the filter you can use either of these 2 approaches&lt;/P&gt;
&lt;P&gt;1) Create 2 Edit buttons&lt;/P&gt;
&lt;P&gt;a) For admin user which won't have this -&amp;gt; uri.set('jvar_no_filter', 'true');&lt;/P&gt;
&lt;P&gt;b) for non-admin user which has this -&amp;gt; uri.set('jvar_no_filter', 'true');&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;2) UI Script I shared can be using to determine the role and hide the filters using DOM&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 07:00:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673428#M245207</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2021-03-19T07:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673429#M245208</link>
      <description>&lt;P&gt;Hi I have updated my script as below and its working fine.&lt;BR /&gt;&lt;BR /&gt;var uri = action.getGlideURI();&lt;BR /&gt;var path = uri.getFileFromPath();&lt;BR /&gt;uri.set('sysparm_m2m_ref', current.getTableName());&lt;BR /&gt;uri.set('sysparm_stack', 'no');&lt;BR /&gt;uri.set('sysparm_query', 'active=true');&lt;BR /&gt;if(gs.hasRole('admin'))&lt;BR /&gt; {&lt;BR /&gt; uri.set('jvar_no_filter', 'false');&lt;BR /&gt; }&lt;BR /&gt;else&lt;BR /&gt; {&lt;BR /&gt;uri.set('jvar_no_filter', 'true');&lt;BR /&gt; }&lt;BR /&gt;action.setRedirectURL(uri.toString('sys_m2m_template.do'));&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 07:17:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673429#M245208</guid>
      <dc:creator>Arkesh Kumar</dc:creator>
      <dc:date>2021-03-19T07:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673430#M245209</link>
      <description>&lt;P&gt;Nice.&lt;/P&gt;
&lt;P&gt;I missed that part.&lt;/P&gt;
&lt;P&gt;Glad to help.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 07:34:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673430#M245209</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2021-03-19T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673431#M245210</link>
      <description>&lt;P&gt;Hi @Ankur Bawiskar &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've just tried your solution and did some additional changes in the script, based on my requirements. I would only like to hide one condition (marked in red below):&lt;BR /&gt;&lt;BR /&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/38102iCB70FB04820787A1/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;
&lt;P&gt;My UI script:&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/38104i73F3042A53099D66/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;
&lt;P&gt;Outcome (all conditions get hidden):&lt;BR /&gt;&lt;BR /&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/38101iF70C4565BFFE1792/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;
&lt;P&gt;Is there a way to only hide one condition from users? Locking it from editing would also work in my situation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 10:48:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/673431#M245210</guid>
      <dc:creator>karolisjon</dc:creator>
      <dc:date>2021-11-11T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344135#M472646</link>
      <description>&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we hide a part of filter e.g. 3 filters have been applied in the Edit UI Action, I want to hide or make only one filter read only, can we do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarshaPandey_0-1665131072927.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/207023i1ABF779EA2794659/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HarshaPandey_0-1665131072927.png" alt="HarshaPandey_0-1665131072927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 08:24:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344135#M472646</guid>
      <dc:creator>Harsha Pandey</dc:creator>
      <dc:date>2022-10-07T08:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344203#M472666</link>
      <description>&lt;P&gt;I don't think so.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 09:16:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344203#M472666</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2022-10-07T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344353#M472682</link>
      <description>&lt;P&gt;Thanks Ankur for replying. Requirement is Operational status is not retired filter should only be made invisible or read only (other filters should remain as it is) or either they should not be able to select retired cis in slushbucket. Could you please let me know how to achieve this. Can a business rule be written to abort action if users are selecting retired ci in slush bucket?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or can I remove retired choice itself from operational status filter in slushbucket?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarshaPandey_0-1665140368480.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/207082iA6F4608B5E802025/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HarshaPandey_0-1665140368480.png" alt="HarshaPandey_0-1665140368480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 10:59:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2344353#M472682</guid>
      <dc:creator>Harsha Pandey</dc:creator>
      <dc:date>2022-10-07T10:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2476413#M486494</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to show the filtered user list even if the user does not have permission to the filter? What I mean is I need a filter on the user based o roles and have used it in the UI Action but itil users don't have access to the field roles on user table, so it gets converted to keywords and does not load all the result.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/how-to-put-a-sys-user-role-filter-to-the-results-of-approval/m-p/2475367#M965890" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/how-to-put-a-sys-user-role-filter-to-the-results-of-approval/m-p/2475367#M965890&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 16:46:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/2476413#M486494</guid>
      <dc:creator>Akshatha Balla1</dc:creator>
      <dc:date>2023-02-13T16:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide Display filter after clicking edit button in related list</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/3401970#M548884</link>
      <description>&lt;P&gt;I'm setting up the urilike this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; _strLink =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'/sys_m2m_template.do?'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sys_is_list=true&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sys_is_related_list=true&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collectionID='&lt;/SPAN&gt;&lt;SPAN&gt; + g_form.getUniqueValue() + &lt;/SPAN&gt;&lt;SPAN&gt;'&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_query='&lt;/SPAN&gt;&lt;SPAN&gt; + query + &lt;/SPAN&gt;&lt;SPAN&gt;'&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_referring_url='&lt;/SPAN&gt;&lt;SPAN&gt; + location.pathname + &lt;/SPAN&gt;&lt;SPAN&gt;'&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_stack=no&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sys_target=x_data7_disasters_m2m_disasters_alm_stockroom&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_m2m_ref=x_data7_disasters_m2m_disasters_alm_stockroom&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collection=x_data7_disasters_disasters&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collection_key=alm_stockroom&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collection_label=Collection Stations&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collection_related_field=x_data7_disasters_disasters&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'sysparm_collection_related_file=alm_stockroom&amp;amp;'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there an alternative to&amp;nbsp;&lt;STRONG&gt;uri.set('jvar_no_filter', 'true'); that I can use in the URI parameter?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Oct 2025 14:19:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-hide-display-filter-after-clicking-edit-button-in-related/m-p/3401970#M548884</guid>
      <dc:creator>ThayaneLais</dc:creator>
      <dc:date>2025-10-09T14:19:18Z</dc:date>
    </item>
  </channel>
</rss>

