Display popup on widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 04:02 AM
Hi All, I have created a widget which displays list of applications as shown in the fig. So when I click on application, a pop up window should visible with the same application logo and name. Could some help me on how to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 05:52 AM
Hi @Lokesh5,
Checkout this
https://www.servicenow.com/community/developer-forum/portal-display-popup-window-on-a-button-click/m...
https://www.servicenow.com/community/developer-forum/service-portal-how-to-make-pop-up-window-appear...
Please hit helpful and accept this as a solution if it solved your problem.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 05:47 AM
Hello @Lokesh5
<button ng-click="c.onAlert()" class="btn btn-default">
Alert
</button>
function(spModal) {
var c = this;
c.onAlert = function () {
spModal.alert('Add your message').then(function (answer) {
c.simple = answer;
});
}
}
Please mark correct/helpful if applicable.