How to Make a Record Producer Public

Christine30
Tera Guru

Hello:

I realize there have been several posts on this topic, and I have tried the suggestions but still cannot seem to make a record producer public. (I would like users to be able to access and submit the record producer via a Service Now Portal without logging in.) I have:

- Added a record producer to the Service Catalog.
- Created a User Criteria with role public and added it under Available For on the Record Producer. Not Available For has no entries.
- Created variables on the Record Producer with Read/Write/Create roles set to public
- Created a new portal, with a public page and a link icon widget (also public) with URL pointed to my new record producer.
- In the Scripted Rest API "Service Catalog API", unchecked "requires authentication" for Submit a Record Producer.

Unfortunately, when I access the record producer by clicking on the icon link, I am brought to a login page. 

I'd appreciate any help.

Thank you.

Christine

1 ACCEPTED SOLUTION

3 REPLIES 3

Kieran Anson
Kilo Patron

Unfortunately you can't make a service catalogue item available for an-unauthenticated user without severely building yourself into some horrible technical debt and exposing a major SRAPI to the wider world. By opening the SC API to any old person really leaves you at risk.

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.

An example is the CSM self registration form which uses a custom widget to capture the details and then a server side script to create the relevant record.

 

find_real_file.png

Ok, thank you.

Brian McMinn3
Kilo Explorer

reply