Is it possible to make the record producers public on Service Portal?

Jahnavi6
Kilo Expert

Hi,

Can someone please guide me to make the record producers public((for NOT logged in Users) on ServicePortal?

What I did was ->

1. Created new Record Producer as Service Catalog item. 

2. Made this RP available on Service Portal using the cloned widget sc_cat_item. and selected as "Public" and no roles were selected.

3. But, when i access the page, it says "You are either not authorized or record is not valid"

For ex: My URL is like https://<domain>.service-now.com/help?id=cloned_sc_cat_item&sys_id=443d53351b9ad09028c763d07e4bcb92

 

1 ACCEPTED SOLUTION

palanikumar
Mega Sage

Hi,

Make sure the Page and Widget (SC Catalog Item) are made public. 

Make a Catalog Item/Record Producer public, make both the item and the variables public.

  • To make the item public, create a User Criteria with Public Role. Use Catalog Item to be available for this public User Criteria. Make sure there is no user criteria in the Not Available For section.
    If you have  glide.sc.use_user_criteria to false, make sure the roles field is on the form and add the public role to it. Using entitlement is a deprecated behaviour of securing Catalog Item from Fuji and should be avoided.

  • Set two step check out to false. (glide.sc.checkout.twostep = false). 

  • To make the variables public, add WriteRead, and Create roles to the related list

 

Refer the below link for making a Record Producer Public:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0551300

 

Thank you,

Palani

Thank you,
Palani

View solution in original post

17 REPLIES 17

Jahnavi6
Kilo Expert

Thanks for the inputs, the record producer form is loaded. But, when i submit it, it says "Something went wrong and your request could not be submitted. Please contact your system administrator". Console log says "401 Unauthorized request" for submit_producer API. 

As per the knowledge article, KB0681861, we might need to uncheck the "Requires Authentication" checkbox. Does anyone know, how to do that?

Hello,

could you find the "Requires Authentication" checkbox or how did you get your Record Producer public?

 

Greetings

 

You can check here related to "requires authentication": https://community.servicenow.com/community?id=community_question&sys_id=686a274cdbe618949e691ea668961957


Thank you very much!

Hi,

even though I would not suggest doing this, it can be done as follows:

  • open System Web Services->Scripted REST APIs
  • find "Service Catalog API" scripted rest api
  • under the resources you will see the resources where for each you can set "Requires authentication"

As stated in the: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0681861 you can disable "requires authentication" for:

  • Buy Item
  • Submit a Record Producer

Then you should be able to submit a form. 

Thx