- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 09:15 PM
Hello!
I have developed a custom widget for our service portal that will display a pop-up dialog window advising a user that they need to fill out their email address (if it is blank within their profile). We utilize digest token SSO authentication, and when a user first logs into the system, an account is created and they are given the SNC_external role. They will then be redirected to the portal in which the widget will trigger the pop-up - the user will click okay, and then be directed to the user_profile page. I seem to be having an issue with the widget server script - after they hit OK and access the user profile page, the user fields do not appear- it is essentially blank. I have adjusted the self service user form and any applicable ACLs (I think!)., but wondering if there is some sort of Client ACL that i need to recreate for snc_external? profile/field access? The strange thing is that with the exact same snc_external role, if the user just goes into the portal after already filling out their email address and hitting profile, they are able to see the fields. It is only when they are redirected via the new widget that the fields do not appear on the page. The script is below. I'm starting to think it may have to do with the user_profile page (and maybe its ACLS?). Any ideas or suggestions are appreciated!
Thank you!
--------------------------------------------------------------------------------------------------------------
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 03:33 PM
After knocking my head into a wall, I realized that the form wasn't the issue, it was indeed the ACLs. I assumed I had created them correctly, but I found this article and was able to get the fields editable and viewable (for the most part)!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2025 10:37 PM
Hi @kristenmkar ,
Looks like the issue is due to the view. Please check if there is a sp view configured for the profile. If not create a sp view and check if it works.
You can refer : https://www.servicenow.com/community/itsm-forum/form-view-on-portal/m-p/696987/page/3
Please mark the answer helpful and correct if it resolves the issue. Happy scripting 🙂
-Shantanu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 07:06 AM
Thanks for the information! I checked to ensure we have the Service Portal view, but something I did notice - it looks as though the fields appear as blank if they are not filled out in the native UI? Is that part of the User Profile widget (if you happen to know :)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 03:33 PM
After knocking my head into a wall, I realized that the form wasn't the issue, it was indeed the ACLs. I assumed I had created them correctly, but I found this article and was able to get the fields editable and viewable (for the most part)!