Portal Widget Not displaying Catalog Item

Brandon P1
Mega Guru

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:

Portal errors.png

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.

Widget editing.pngWidget Instance Config.pngWidget.png

 

Any assistance would be greatly appreciated. 

3 REPLIES 3

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

If everything is same why are you cloning it better to use the OOB widget itself?

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. OOB instance configuration.pngPermissions Error.png

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!