How to investigate the use of WIDGET in the area.

Ohki_Yamamoto
Tera Guru

In order to conduct an impact study, we are investigating where the widget is used.


You can check the list of widgets from Service Portal > widgets, but where in the portal is each widget being used?

Is there a way to investigate this?

We think it would be desirable to have a list of widgets used and managed by each portal.

4 REPLIES 4

Fernando Koenra
Kilo Sage

Hi Ohki,

The easiest way is probably to check this from the widget record in the backend. 

Each time a widget (sp_widget) is added to a portal page a unique widget instance (sp_instance) with its own configuration is created. 

When you open the widget record in the backend from the sp_widget table you should be able to see the following related lists; 
- Included in Pages
- Instances

find_real_file.png

Hope this helps.

Kind regards,
Fernando

Thank you very much.
I understand that if I add a widget to the portal page, it will be added to this related list.

I will take this into consideration.

CezaryBasta
Tera Guru

In addition to @Fernando Koenraad's answer, remember that widget can also be called:

  • from other widgets in their HTML/client/server scripts (using their internal name
  • from variables of type Custom/Custom with label
  • probably even from catalog client scripts (this I haven't tried, but I believe it is possible)

So you'd have to check also some other places, the related lists is not good enough.

--
See more of my content here.

Thank you for your confirmation.

Regarding the method of calling the widget you described, is there an effective way to investigate where the widget is used?

Is the only way to search by widget ID?