- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2021 06:23 AM
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
- 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.
But even I paste same item page URL to other browser (unauthorised), it still displays log in page.
Do I have to do something else?
In the article, it mentions "make the item public".
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.
How can I display catalog item with unauthorized user?
If you have any idea, it will be great help for me.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2021 11:32 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2021 07:27 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2021 06:05 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2021 06:08 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2021 06:23 AM
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?