Portal Widget Not displaying Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 08:13 AM
I am having issues with the portal widget widget-sc-cat-item-v2. I have cloned the widget added it to a portal page yet I cannot get it to display anything.
on the portal I get the following errors:
the widget is a straight copy of widget-sc-cat-item-v2 with a change in the name. I have pointed the widget instance to many items and get the same error.
The following are some captures of the widget.
Any assistance would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 08:43 AM
Hello,
If everything is same why are you cloning it better to use the OOB widget itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 10:16 AM
Hi Saurav,
There are many reasons, however the primary reason for this is to keep all the parts of this development under the same scope. the OOB is in the global scope however the development around this is all contained in it's own scope. This helps keep everything clean. Also greatly improves manageability of the application and it's parts through the studio designer or if you are like me through MS Code using the ServiceNow extension for Code. Additionally by using clones of OOB items you can avoid any upgrades from potentially breaking you customizations.
Now there is another issue with the OOB widget and that's permissions. When using the OOB the widget does not show up at all and there is a permissions error. While this also may be related to the permissions issue in the OOB widget I do not see the ability to select the target SC Catalog Item in the OOB like I do when I clone it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 04:44 PM
Hi there,
Was this issue ever resolved? I was able to fix the errors that were popping up, but now I'm struggling with permissions, as you mentioned! I've checked ACLs, my own permissions, etc, and I have also tried using the global version and I can't get either to work... Any guidance would be greatly appreciated!