- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018 10:38 AM
Ok, I have a problem and could use a little help. I have been pulling my hair out!! Any direction would be awesome!
I have created:
- Portal (Public)
- Portal Page (Public)
- Catalog and category (role public)
- Record producer (Public)
- Cloned widget (Public) (From SC Catalog Item widget)
- Added the necessary pages to the public list
- Variables write, create and read roles are public
Current state
- Portal, portal page and widget is working as public https://ouitservicesdev.service-now.com/scc_sr?id=sr&sys_id=036cd49c4f96d3407b92d49f0310c7d2
Problem
- The description and form name are showing but Variables cannot be seen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2018 10:59 AM
Even if you get the form to render, the problem you're going to run in to is that you can not submit a record producer in Service Portal with an unauthenticated user.
The form posts to a processor called /angular.do which lives on the filesystem, and does not support unauthenticated users.
What you can do is build a custom widget which either processes the data using the server script or by posting to the REST API. I'd also recommend that you implement a Captcha to ensure submission by real users.
We've built many such custom forms for our customers, but it's probably not the answer you were hoping for.
Thanks,
Nathan Firth
Founder and ServiceNow Architect
NewRocket, Inc.
nathan.firth@newrocket.com
http://serviceportal.io
http://newrocket.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2019 09:13 AM
That's super. I'll be mocking up a quick prototype to test this out.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2019 02:04 PM
James,
I just wanted to thank you. I got it done with your help. Much appreciated.
-e-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2019 10:06 PM
Super helpful! How did you go about integrating Google captcha into this form? Trying to figure it out myself. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2019 10:49 AM
There is some info on using Google Captcha in the SN community:
Use what Google gives you to add to html.
Then you would use an 'if' condition in the client script so you don't run the add data action when the captcha returns false. I haven't setup to using Google Analytics part yet which is a little more complicated. However, I recommend you do for better security. It's a good way to be notified if your instance is getting attacked with sudden multiple entries.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2021 05:13 AM
Hi
This is pretty much same with my requirement.
I need to link my record producer to QR code and any one( unauthenticated) can scan the code to submit the request.
Do you have any inputs for me on how to achieve the same?