<?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 add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469219#M40998</link>
    <description>&lt;P&gt;Thanks Stacey but this way I can hide it and my requirement is to make it visible but read only so that users can't modify it that filter.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 30 May 2017 12:31:21 GMT</pubDate>
    <dc:creator>mukesharora</dc:creator>
    <dc:date>2017-05-30T12:31:21Z</dc:date>
    <item>
      <title>How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469200#M40979</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to filter out the Configuration Items (CIs) with empty names in both 'Edit' Slush bucket and 'Add' button sys popup window of 'Affected CIs' related list. I am able to use the 'Default filter' from the List control of the 'Affected CIs' related list header, but I am trying to find ways to apply the same filter to the 'Add' button sys popup window under 'Affected CIs' related list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add Default filter on the 'Add' button's sys popup of list hearer, but I couldn't add the 'Edit default filter' field to the form on this List control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 19:50:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469200#M40979</guid>
      <dc:creator>harinalamalapu</dc:creator>
      <dc:date>2016-04-18T19:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469201#M40980</link>
      <description>&lt;P&gt;Go to System UI --&amp;gt; Related Lists&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Search for table "incident"&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Select one of the entries (i.e. default view)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There you will see the related list &lt;EM&gt;task_ci.task&lt;/EM&gt; (You can also get to it by going to the table: &lt;EM&gt;&lt;SPAN style="color: #2f3e14; text-indent: 0px;"&gt;sys_ui_related_list_entry&lt;/SPAN&gt; &lt;/EM&gt;and finding this list id instead.)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can update the filter there and it will apply to your related list.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;OR you can create your own related list entry with the filter (keeping things out-of-the-box) and put that on your incident form or other forms.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/24473i3546FF6C95B3A993/image-size/large?v=v2&amp;amp;px=999" title="related list.PNG" alt="related list.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2016 20:17:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469201#M40980</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-18T20:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469202#M40981</link>
      <description>&lt;P&gt;Hi Stacey,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I tried this, but it didn't work for me. Have you been able to see this filter taking affect in the 'Add' button sys popup ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:28:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469202#M40981</guid>
      <dc:creator>harinalamalapu</dc:creator>
      <dc:date>2016-04-18T22:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469203#M40982</link>
      <description>&lt;P&gt;I also found out that, making update to a Related List (say 'task_ci.task') for the filter will impact all the forms that uses the related lists in context. Do you guys think of any other idea to address this problem ?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Apr 2016 23:21:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469203#M40982</guid>
      <dc:creator>harinalamalapu</dc:creator>
      <dc:date>2016-04-18T23:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469204#M40983</link>
      <description>&lt;P&gt;You can create your own related list as I said instead of updating the out-of-box version. Just insert a new related list into that table and pull it up on your form. That way you're only impacting the view/form you wish to.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You're right, it only filters the list of items shown and doesn't provide the filter to the edit button on the list. I'm not sure it will be easy to do what you want to do. Maybe someone else would like to spend time trying to figure it out or script it. Slush bucket lists are a pain to work with.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You could look at modifying the edit button (type "ui actions" in the left menu and find the "Edit..." button for the many to many.) I just think it isn't worth going to that level.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 11:51:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469204#M40983</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-19T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469205#M40984</link>
      <description>&lt;P&gt;Also, the "edit" button lets you choose from all CIs but the "add" (do you mean "new"?) button creates a new CI so not sure you want to offer that...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=Filtering_Related_List_Relationships#gsc.tab=0" title="http://wiki.servicenow.com/index.php?title=Filtering_Related_List_Relationships#gsc.tab=0"&gt;Filtering Related List Relationships - ServiceNow Wiki&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 12:01:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469205#M40984</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-19T12:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469206#M40985</link>
      <description>&lt;P&gt;Here is your final solution that should work according to &lt;A href="http://wiki.servicenow.com/index.php?title=Filtering_Related_List_Relationships#gsc.tab=0" title="http://wiki.servicenow.com/index.php?title=Filtering_Related_List_Relationships#gsc.tab=0"&gt;Filtering Related List Relationships - ServiceNow Wiki&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Right click the list and get into your "list control" form.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Personalize this form to add the "Edit default filter" to your form.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Click on this filter and you can set it so the edit button only shows those CIs that match that filter.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 12:04:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469206#M40985</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-19T12:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469207#M40986</link>
      <description>&lt;P&gt;Thank you Stacey for taking a look at it again. I actually implemented the above suggested approach of "Edit default filter", and it addressed "Edit" slush bucket part of the problem. However, "Add" sys popup is not working with this "Edit default filter". any thoughts for that part?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;"Add" button on the "Affected CIs" related list is an out of the box button similar to "Edit" to add CIs to the Change Request. Its not about creating a new CI.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:31:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469207#M40986</guid>
      <dc:creator>harinalamalapu</dc:creator>
      <dc:date>2016-04-19T14:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469208#M40987</link>
      <description>&lt;P&gt;Okay, glad that worked for the edit button.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I don't have an add button, only the "new" button which creates the new CI. Hmmm... Nor do I have an "Add" ui action anywhere. Is this out of the box and I'm simply missing it or is it a new UI action you created? Could it just be limited to allow users to only use the "edit" button as that does the same thing?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:35:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469208#M40987</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-19T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469209#M40988</link>
      <description>&lt;P&gt;Yeah, "Add" is an out of the box UI Action, I guess it came with Geneva release.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/24466iCC716BD777437BC2/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;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:43:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469209#M40988</guid>
      <dc:creator>harinalamalapu</dc:creator>
      <dc:date>2016-04-19T14:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469210#M40989</link>
      <description>&lt;P&gt;Okay I just upgraded my dev instance to Geneva and I see it. Very interesting as when I upgraded, my edit button was now omitted and I see the "add" button.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The ui action calls the GlideAjax function AssociateCIToTask&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I can't find anything you'd have to update other than modifying this somehow. Maybe someone else has an idea that is easier. You can disable the add button if you want to stay with the slushbucket edit as well.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;P.S. You can create a default filter in Geneva using this step (only filters the displaying of the list.): &lt;A href="https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/use/using_forms/task/t_CreateADefaultFilter.html" title="https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/use/using_forms/task/t_CreateADefaultFilter.html"&gt;Create a default filter&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:08:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469210#M40989</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2016-04-19T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469211#M40990</link>
      <description>&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;In case you cannot perform a CMDB clean up,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please find the solution to add a default filter to the "Add" button of Affected CIs related list.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;Go on the script include "AssociateCIToTask"&lt;/LI&gt;&lt;LI&gt;Add the encoded query needed (could be dynamic)&lt;/LI&gt;&lt;LI&gt;Omit the edit button (the affected CI could be removed from the related list)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Customization :&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Script Include : AssociateCIToTask&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14743035768236540 jive_text_macro" data-renderedposition="298.1875_8_1132_160" jivemacro_uid="_14743035768236540" modifiedtitle="true"&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var url = new GlideURL("task_add_affected_cis.do");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_crSysId", chgReqId);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_view", "associate_ci");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_add_to", addToTable);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_stack", "no");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_table", latestClassAdded);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_parent_class", parentClass);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; url.set("sysparm_query",'nameISNOTEMPTY'); // Add default filter - Name IS NOT Empty; could be dynamic if needed&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; return url;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result :&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/24465i58B526406C360555/image-size/large?v=v2&amp;amp;px=999" title="Default filter.png" alt="Default filter.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Lionel COMANDINI&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: small; font-family: arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ITEO&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;DIV style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit;"&gt;&lt;DIV dir="ltr" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;DIV dir="ltr" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;DIV style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: inherit;"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;Skype : lionel.comandini.iteoconsulting&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Email : &lt;/SPAN&gt;&lt;A title="k-email-small" class="jive-link-email-small" href="mailto:lionel.comandini@iteoconsulting.com" style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #3778c7;"&gt;lionel.comandini@iteoconsulting.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Sep 2016 17:16:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469211#M40990</guid>
      <dc:creator>lionelcomandini</dc:creator>
      <dc:date>2016-09-19T17:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469212#M40991</link>
      <description>&lt;P&gt;Hi Hari:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Create new "Add" button on related list.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Table : task.ci (Affected CIs) &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Condition : openCmdbCIList()&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function openCmdbCIList(){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function openCmdbCIList(){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var gajax = new GlideAjax("AssociateCIToTask");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gajax.addParam("sysparm_name","getURL");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gajax.addParam("sysparm_id", g_form.getUniqueValue());&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gajax.addParam("sysparm_add_to", "task_ci");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gajax.getXMLAnswer(openList);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function openList(answer){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var url = answer;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var cmdbciOverlay = new GlideOverlay({&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; id : "cm_add_affected_cis",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; title : getMessage("Add Affected Configuration Items"),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; iframe : url,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; closeOnEscape : true,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; showClose : true,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; onAfterClose: refreshAffectedCIs,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; onAfterLoad: resizeIframe, //Once PRB632264 is fixed by platform we can comment this line&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; height : "90%",&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; width : "90%"&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; });&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; cmdbciOverlay.center();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; cmdbciOverlay.render();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function refreshAffectedCIs() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var listId = g_form.getTableName() + ".task_ci.task";&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var list = typeof GlideList2 !== "undefined" ? GlideList2.getByName(listId) : null;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if (list == null)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; list = typeof GlideList !== "undefined" ? GlideList.get(listId) : null;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if (list != null)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; list.refresh();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function resizeIframe(){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var x = g_glideBoxes.cm_add_affected_cis;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; x.autoDimension();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; x.autoPosition();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; x._createIframeShim();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&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/24462i31988A3A28228AFB/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;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2016 16:48:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469212#M40991</guid>
      <dc:creator>rakesh90</dc:creator>
      <dc:date>2016-10-24T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469213#M40992</link>
      <description>&lt;P&gt;Hi Hari, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have exactly the same issue. were you able to solve this? Please share your experience. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank You &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Revathi &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2016 18:53:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469213#M40992</guid>
      <dc:creator>rev3</dc:creator>
      <dc:date>2016-10-26T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469214#M40993</link>
      <description>&lt;P&gt;Hi Rakesh, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you just briefly explain what code changes have you made for the OOB script. It does not appear to be working for me. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank You &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Reva&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Nov 2016 05:36:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469214#M40993</guid>
      <dc:creator>rev3</dc:creator>
      <dc:date>2016-11-01T05:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469215#M40994</link>
      <description>&lt;P&gt;Hi Rev:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Same code that i mentioned above is used for mu ui action. please go through it.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:25:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469215#M40994</guid>
      <dc:creator>rakesh90</dc:creator>
      <dc:date>2016-11-02T17:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469216#M40995</link>
      <description>&lt;P&gt;Hello Lionel, &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We have a filter defined in filter table. Can we use that filter in the script. We don't want to change the script instead we can change the filter under system definition-&amp;gt;Filters that will change in the affected CI's. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank You &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Nov 2016 19:46:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469216#M40995</guid>
      <dc:creator>rev3</dc:creator>
      <dc:date>2016-11-14T19:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469217#M40996</link>
      <description>&lt;P&gt;Could you tell how can we make sure that the filter which is applied " NameisNotEmpty" should be read only? No one should be able to modify it as now I can modify this filter.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2017 11:50:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469217#M40996</guid>
      <dc:creator>mukesharora</dc:creator>
      <dc:date>2017-05-30T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469218#M40997</link>
      <description>&lt;P&gt;If you want to stop them from editing it. When you click add and get the pop up, you can still edit the list control.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;At the top of the list, right click --&amp;gt; Configure --&amp;gt; List Control --&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;You can then assign "filter roles" (to give access to certain roles only) or check "omit filters" to omit the filter from the display.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2017 12:27:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469218#M40997</guid>
      <dc:creator>staceyrocheleau</dc:creator>
      <dc:date>2017-05-30T12:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469219#M40998</link>
      <description>&lt;P&gt;Thanks Stacey but this way I can hide it and my requirement is to make it visible but read only so that users can't modify it that filter.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2017 12:31:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-add-a-default-filter-to-the-affected-cis-related-list-to/m-p/469219#M40998</guid>
      <dc:creator>mukesharora</dc:creator>
      <dc:date>2017-05-30T12:31:21Z</dc:date>
    </item>
  </channel>
</rss>

