I am trying to make a Record Producer Public on the portal

Jason Gibson1
Giga Contributor

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:

  1. Portal (Public)
  2. Portal Page (Public)
  3. Catalog and category (role public)
  4. Record producer (Public)
  5. Cloned widget (Public)  (From SC Catalog Item widget)
  6. Added the necessary pages to the public list
  7. Variables write, create and read roles are public

Current state

Problem

  • The description and form name are showing but Variables cannot be seen

 

1 ACCEPTED SOLUTION

nathanfirth
Tera Guru

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

View solution in original post

14 REPLIES 14

Bhojraj Dhakate
Tera Expert

Hi jasontgibson,

can you check "Availability" Section on the variables.

find below attachment for the reference.

find_real_file.png

Thanks,

Bhojraj

nathanfirth
Tera Guru

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

nathanfirth, thank you for updating this question, but do you have some helpful links in setting up a custom widget to work with a REST API? We authenticate using our LDAP and need a means for users to submit simple tickets for login problems so I don't need to build anything overly complicated. I have setup REST API's in the past for third party platforms, but never customized my own widget to work with it.

Hi Nathan

 

Just want to have your thoughts on this.

Known Error - Unauthenticated users cannot submit catalog items on Service Portal (servicenow.com)

I followed this article and was able to submit the catalog item by guest account without logging in.

I know it has some potential risks as the APIs are exposed and anyone can submit it without login.

find_real_file.png

Do you foresee any alternative to this or just creating custom widget is the option left.

 

Regards

Deepak