Pop up in portal
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 03:59 AM
- How to create pop up in service portal knowledge article page when user click on not helpfull button. It's a read only widget but have to create pop-up to display
Thankyou
Labels:
- Labels:
-
Architect
1 REPLY 1
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 04:41 AM
Hi @servicenow_devo ,
HTML -
<button ng-click="c.onConfirm()" class="btn btn-default"> Confirm </button> <span>{{c.confirmed}}</span>
Client script
function(spModal) { var c = this; c.onConfirm = function() { c.confirmed = "asking"; spModal.confirm("Can you confirm or deny this?").then(function(confirmed) { c.confirmed = confirmed; // true or false }) } }
Image for reference
Please check the below script may be this will work
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak