- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 10:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 10:56 PM
Hi @t7 ,
You can achieve this by concept of embedded widget.
Refer :Embedded widgets (servicenow.com)
Thanks and Regards,
Rahul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 11:02 PM
Hello @t7 ,
You can refer below article to understand
How to communicate between widgets in Service Portal
YouTube : Calling one Widget into another widget in ServiceNow
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 11:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 10:53 PM
Hello @t7
You can Embed the widgets in 3 ways :-
1. Embed with HTML template :-
<div>
<widget id="widget-cool-clock"></widget>
</div>
2. Embed Widget with Client Script :-
function(spUtil) {
var c = this;
spUtil.get("widget-cool-clock").then(function(response) {
c.myClockWidget = response;
});
}
HTML :-
<sp-widget widget="c.myClockWidget"></sp-widget>
3. Embed Widget with Server Script :-
(function() {
var coolClockOptions = {"zone": "America/Los_Angeles","title": "San Diego, CA"}
data.coolClockWidget = $sp.getWidget('widget-cool-clock', coolClockOptions);
})();
HTML :-
<sp-widget widget="data.coolClockWidget"></sp-widget>
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 10:56 PM
Hi @t7 ,
You can achieve this by concept of embedded widget.
Refer :Embedded widgets (servicenow.com)
Thanks and Regards,
Rahul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 11:02 PM
Hello @t7 ,
You can refer below article to understand
How to communicate between widgets in Service Portal
YouTube : Calling one Widget into another widget in ServiceNow
Kindly mark correct and helpful if applicable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2023 11:31 PM
Hi,
Please check below link:
https://www.servicenow.com/community/itsm-forum/call-a-widget-from-another-widget/td-p/755962
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 10:53 PM
Hello @t7
You can Embed the widgets in 3 ways :-
1. Embed with HTML template :-
<div>
<widget id="widget-cool-clock"></widget>
</div>
2. Embed Widget with Client Script :-
function(spUtil) {
var c = this;
spUtil.get("widget-cool-clock").then(function(response) {
c.myClockWidget = response;
});
}
HTML :-
<sp-widget widget="c.myClockWidget"></sp-widget>
3. Embed Widget with Server Script :-
(function() {
var coolClockOptions = {"zone": "America/Los_Angeles","title": "San Diego, CA"}
data.coolClockWidget = $sp.getWidget('widget-cool-clock', coolClockOptions);
})();
HTML :-
<sp-widget widget="data.coolClockWidget"></sp-widget>
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh