How to add multiple widgets in single widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2020 01:16 AM
Hi Team,
I am not able to add multiple widgets in a single widget while creating the dashboard. Could you please help me out.
Thanks & Regards,
Prabhakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2020 01:24 AM
Sorry for delay responding. Its not cleared, which I have asked the question
Thanks for your support.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2020 05:21 AM
Hi,
To add a widget with a widget you have to follow the below steps:
In Service Script add the following code:
data.widget1 = $sp.getWidget("widget1"); // widget1 should be a valid Widget Name used in ID field of Widget
In HTML Template add the following code to insert the Widget:
<sp-widget widget="data.widget1"></sp-widget>
This way you can add multiple Widget.
Thank you,
Palani
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2020 05:25 AM
I will try. Thank you so much Palani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-09-2020 06:10 AM
I don't have knowledge in service portal Developer. I am a system administrator in ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2023 06:50 AM
hi @palanikumar can we use css also when we call other widgets