<?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: Getting related lists in a form to restrict access in GRC forum</title>
    <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308299#M5711</link>
    <description>&lt;P&gt;Divya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can restrict the records in the related list by creating a read ACL on the related list table.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For example, I can create a read ACL on task_sla table and restrict itil users from viewing that records&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For admin:&lt;/P&gt;&lt;BR /&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/130684iCA82A9B153105642/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;BR /&gt;&lt;P&gt;For itil: &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="sla.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/130683i75DB17A20C43C86B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sla.PNG" alt="sla.PNG" /&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;Abhinay&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;PS: Hit like, Helpful or Correct depending on the impact of the response&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 18 May 2016 05:43:47 GMT</pubDate>
    <dc:creator>Abhinay Erra</dc:creator>
    <dc:date>2016-05-18T05:43:47Z</dc:date>
    <item>
      <title>Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308288#M5700</link>
      <description>&lt;P&gt;How can we refer to related lists in a form to restrict their access to specific group of people?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Divya&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 01:52:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308288#M5700</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T01:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308289#M5701</link>
      <description>&lt;P&gt;You can write an onLoad client script and check for the roles and use this method to hide the related list. You will get the related list name by going on to the list and configure -&amp;gt; list control as shown below&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;g_form.hideRelatedList('related list name'); &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For example, if I want to hide Task SLA related list on Incident, I would write &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;g_form.hideRelatedList('task_sla.task');&lt;/P&gt;&lt;BR /&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/130682iB85BB582399B0EC2/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;BR /&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/130686iB0C55732F182C840/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;BR /&gt;&lt;P&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;Abhinay&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;PS: Hit like, Helpful or Correct depending on the impact of the response&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 02:15:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308289#M5701</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T02:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308290#M5702</link>
      <description>&lt;P&gt;That's right but the entire form is being hidden with this script...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The condition given by me initially was:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Type: UI Page&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Operation: Read&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Name: Incident&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Role: ITIL //for testing purpose&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Later now I changed that to&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Type: Record&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Operation: Read&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Name: Incident.None&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Role: ITIL&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;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Divya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 03:38:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308290#M5702</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T03:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308291#M5703</link>
      <description>&lt;P&gt;You wanted to hide the related list right?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 03:54:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308291#M5703</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T03:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308292#M5704</link>
      <description>&lt;P&gt;Yes, just the related list...&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 03:56:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308292#M5704</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T03:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308293#M5705</link>
      <description>&lt;P&gt;I did not get you. g_form.hideRelatedList('related list name') only hides the related list you specify, how can it hide the entire form??&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you attach a screenshot.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:01:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308293#M5705</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T04:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308294#M5706</link>
      <description>&lt;P&gt;I think the script you have is ACL. You should have a client script instead&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:03:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308294#M5706</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T04:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308295#M5707</link>
      <description>&lt;P&gt;S, i have this question...Is the script in ACL just for Boolean evaluation? or can it be used to perform other tasks as form field hiding as well? Because I don't wish to have any client scripts at this time...and wanted to enforce some constraints on form...&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;Divya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:30:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308295#M5707</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T04:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308296#M5708</link>
      <description>&lt;P&gt;Divya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yes you can write script in ACL's, but you can only restrict users from accessing the table and fields in the table. If you want to restrict related lists to certain users, client script is the only way, you cannot do it by writing ACL's&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;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Abhinay&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;PS: Hit like, Helpful or Correct depending on the impact of the response&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:37:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308296#M5708</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T04:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308297#M5709</link>
      <description>&lt;P&gt;Divya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; What exactly is your requirement? &amp;nbsp; Can you elaborate your requirement, I will try to see what I can do.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:44:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308297#M5709</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T04:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308298#M5710</link>
      <description>&lt;P&gt;There a 2 sets of people...and a related list on an incident form..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We have to restrict access to one set of people while the other set can view and work (edit) on the same related list,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;using ACL.&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;Divya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 04:54:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308298#M5710</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T04:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308299#M5711</link>
      <description>&lt;P&gt;Divya,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can restrict the records in the related list by creating a read ACL on the related list table.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For example, I can create a read ACL on task_sla table and restrict itil users from viewing that records&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For admin:&lt;/P&gt;&lt;BR /&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/130684iCA82A9B153105642/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;BR /&gt;&lt;P&gt;For itil: &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="sla.PNG"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/130683i75DB17A20C43C86B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sla.PNG" alt="sla.PNG" /&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;Abhinay&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;PS: Hit like, Helpful or Correct depending on the impact of the response&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 05:43:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308299#M5711</guid>
      <dc:creator>Abhinay Erra</dc:creator>
      <dc:date>2016-05-18T05:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308300#M5712</link>
      <description>&lt;P&gt;Perfect, that's what I am looking for...&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;Divya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 May 2016 15:22:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308300#M5712</guid>
      <dc:creator>divvi_vamsi</dc:creator>
      <dc:date>2016-05-18T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308301#M5713</link>
      <description>&lt;P&gt;Hi Abhinay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please send us the full page as i am not able to achieve my problem.&lt;/P&gt;
&lt;P&gt;The EDIT option should be visible only to Demand role in my case.&lt;/P&gt;
&lt;P&gt;I am able to hide the Records but i still see EDIT option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And EDIT button is available under 3 of the Related list.(we should restrict from one related list , Say Parent).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aarav&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:36:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308301#M5713</guid>
      <dc:creator>aarav</dc:creator>
      <dc:date>2019-03-06T13:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting related lists in a form to restrict access</title>
      <link>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308302#M5714</link>
      <description>&lt;P&gt;Hi Abhinay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please send us the full page as i am not able to achieve my problem.&lt;/P&gt;
&lt;P&gt;The EDIT option should be visible only to Demand role in my case.&lt;/P&gt;
&lt;P&gt;I am able to hide the Records but i still see EDIT option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And EDIT button is available under 3 of the Related list.(we should restrict from one related list , Say Parent).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aarav&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:35:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/getting-related-lists-in-a-form-to-restrict-access/m-p/1308302#M5714</guid>
      <dc:creator>aarav</dc:creator>
      <dc:date>2019-03-06T14:35:44Z</dc:date>
    </item>
  </channel>
</rss>

