Service catalog with public access

Tamakey
Mega Contributor

Hi,
I am trying to make my catalog item accessible from public (without login / unauthorized).
To do this, I found this KB article KB0681861 and
- copy "sc_cat_item" page and make "sc_cat_item_public" page then set it public
- assign "public" role to page roles
find_real_file.png
- clone all widgets in "sc_cat_item_public" page and sets all of them public
- assign "sc_cat_item_public" page as a homepage in my own service portal
I can display item page from this portal with logged in user.
find_real_file.png
But even I paste same item page URL to other browser (unauthorised),  it still displays log in page.
find_real_file.png
Do I have to do something else?

In the article, it mentions "make the item public".
find_real_file.png

What is this means?
I guessed it means that set public role to the item like page settings. Is this correct?
I tried it but, my item setting page doesn't shows roles field even it is define in Form Design.
find_real_file.png
find_real_file.png

How can I display catalog item with unauthorized user?
If you have any idea, it will be great help for me.

Thank you.

 

 

1 ACCEPTED SOLUTION

Hi Carlos,

Thank you so much for your help!!
I solved this.

-Catalog item can not public
+ In client script, i commented some line

- Submit button not working
+ It call to authentication api is required

 

 

View solution in original post

10 REPLIES 10

Carlos Candano
Mega Guru

You will have to clone the widgets and set the role as public only. I suggest you create a page with just the catalog item widget for starters. You will also have to do this with the variables in the catalog item. 

Note: Once you get the item to work, you might encounter issues with submitting or adding attachments. These things are executed via a REST API and might need an authorized user. 

Hi Carlos,
Thank you so much for your reply!

Yes, I know there will be other issues with submitting and attachments.
I found some questions about that in developer community.

But I cannot even display item data with unauthorized access.
May be even after resolve this issue, I will have other issues about this job...

Anyway, in my page, I set only one widget "SC Catalog Item Public" which is copied from "SC Catalog Item" and deleted all other widget from the page.

Then I assigned only one role "public" to both of this widget "SC Catalog Item Public" and the page.

 

But still I cannot display item information.

I can display the item using same URL with authorized environment.

Are there anything which I'm missing?
Do I have to set the role "public" to the item?
If it so, how can I do that?

Tamakey
Mega Contributor

Hi Carlos,
Thank you so much for your reply!

Yes, I know there will be other issues with submitting and attachments.
I found some questions about that in developer community.

But I cannot even display item data with unauthorized access.
May be even after resolve this issue, I will have other issues about this job...

Anyway, in my page, I set only one widget "SC Catalog Item Public" which is copied from "SC Catalog Item" and deleted all other widget from the page.

Then I assigned only one role "public" to both of this widget "SC Catalog Item Public" and the page.

 

But still I cannot display item information.

I can display the item using same URL with authorized environment.

Are there anything which I'm missing?
Do I have to set the role "public" to the item?
If it so, how can I do that?

I am not able to view your screenshots. I think your first post required you to login. How about now? Are you able to see the page?