- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 02:26 AM
Hi All,
I am building a service portal where i have a widget with a button. On Click of this button a small dialog window or ui page with few html inputs should pop up and the inputs from this page should be saved in the backend.
Can any one give me insights on calling a ui page or dialog window from widget.
Thanks,
Divya Lakshmi.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 05:44 AM
Here's a resource that might help you out.
Using $uibModal: Modal Windows in Service Portal - ServicePortal.io - Service Portal, CMS, and Custom Apps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2019 12:52 AM
Hello,
I'm trying to handle the same thing but unfortunately my pop-up window is not called.
You will find my script below:
HTML Template:
<!-- BUTTON SAVE -->
<div class="btn_save">
<button type = "button" class = "save_form" ng-click="clickMethod()">Save</button>
</div>
Client Script:
function clickMethod() {
alert("Function called");
if(confirm("Are you sure to delete ?")) {
console.log("Implement save functionality here");
}
}
I'm trying in this step to check if the call is working and run the function to display the 'alert' message. Any idea why the function is not called ?
Many thanks for your help !