can anyone explain me existing login widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 04:28 AM
Hi there,
In SP we have default login widget.
in server side scripting section
Where i could find GlideSPUtil defination?
in client scripting
what is spUtil object? and what is view_form.login?
variable url cotains url for some rest api?
I have to create login for my application. should i use existing login module or create my custom login module?.
If i use existing login process then user details validation is done from existing User Table?
Can i use my own user table with existing login process? if yes then how?
Sorry for lots of question in single post. I am new to ServiceNow and creating my first application so need some help.
Thanks.
Best regards,
Pratap Ranawat
- 2,138 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2018 10:24 PM
GlideSPUtil is new to me. Not sure I can answer that question.
spUtil is a visible to you if you know where to look.
Here: https://hi.service-now.com/scripts/app.$sp/service.spUtil.js
I'm not sure that really answers that many questions but I hope it at least is a start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2020 11:05 PM
Anyone got answers to his questions.
what is spUtil object? and what is view_form.login?
Does variable url contain URL for some rest API?
I have to create a login for my application. should I use existing login module or create my custom login module?.
If I use the existing login process then user details validation is done from the existing User Table?
Can I use my own user table with the existing login process? if yes then how?
Thanks,
Arun

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 06:19 AM
I can see the rest call in login widget is hitting the above url
sputil is building the below path (angular.do?sysparm_type=view_form.login) with the passed paarameters
https://xxxx.service-now.com/angular.do?sysparm_type=view_form.login
If I use the existing login process then user details validation is done from the existing User Table?
I think yes, it will check the user table for sure and create session for the user in server.
so you cant use your custom table for this I think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 10:38 PM
Thank you very much SatheeshKumar. Can you tell me how "view_form.login" is linked to authentication?
I tried to trace the flow from client script to server-level validation. But I can't find the link between this view_form.login and any script includes/business rules.
Thanks & Regards,
Arun