How to find out if a gadget is being used

I have a plugin that provides gadgets, but I don’t know if it’s actually being used. Is there any query that tells how many gadget instances there are and its plugin key?

Thanks in advance,

Hi Adolfo,

If you know plugin key, it’s possible to find if plugin gadgets are installed on any dashboard using SQL query connected to your DB, e.g.:

SELECT portalpage, gadget_xml, count(*) FROM portletconfiguration WHERE gadget_xml LIKE '%YOUR-PLUGIN-KEY%' GROUP BY portalpage, gadget_xml;

Thank you

1 Like

Thanks a lot, I will give it a try.