- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 06:52 PM
How can we refer to related lists in a form to restrict their access to specific group of people?
Thanks,
Divya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 10:43 PM
Divya,
You can restrict the records in the related list by creating a read ACL on the related list table.
For example, I can create a read ACL on task_sla table and restrict itil users from viewing that records
For admin:
For itil:
Thanks,
Abhinay
PS: Hit like, Helpful or Correct depending on the impact of the response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:01 PM
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??
Can you attach a screenshot.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:03 PM
I think the script you have is ACL. You should have a client script instead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:30 PM
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...
Thanks
Divya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:37 PM
Divya,
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
Thanks,
Abhinay
PS: Hit like, Helpful or Correct depending on the impact of the response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2016 09:44 PM
Divya,
What exactly is your requirement? Can you elaborate your requirement, I will try to see what I can do.