Serviceportal - Get parameter value from URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 01:02 AM
How can i get the URL and verify the value of a parameter value in a ACL script..
i have tried
var val = $sp.getParameter("view"); also GlideTransaction.get()
but both doesn't seem to work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 07:27 AM
Hi Ishan,
I have a form(table) which should be accessed only those who have roles and it is working as expected, i created a separate portal view for the same form(table) with required fields.... this portal view should be able accessible to all the end users... so currently the end users are able to access the portal view of the form but all the fields on the form are in readonly format and through ACL script im trying to verify if the view is Portal view or native view, if it is portal view then give the users write access..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 12:04 PM
Hi Vai,
So if i understand you correctly, you have a table where you have a portal view (created for end users).
Now there are certain fields on this table for which you want the users to have write access (but from portal view).
My suggestion, if you want to give end users write access, then it should be done from ACL on the table level. Once you open up "field level" ACLs (for those selected fields) for end users they should be able to edit them in application view as well as portal view.
I would recommend to have exclusive field level ACLs for these fields and then it should work fine for both views.
Please mark answer helpful or correct based on the impact of the response.
Thanks
IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2019 09:53 PM
Hi,
Any update on this?
Can you mark answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader