How to populate the glidedialog window on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 02:13 AM - edited 07-26-2023 02:13 AM
Hello All,
We have a requirement to populate the dialog window on service portal where we need to show accept check box along with ok ad cancel button.
If user click 'ok' button it should load catalog item.
If user clicks 'cancel' button the page should navigate to home page.
I have tried using GlideModal and GlideDialogWindow method to populate but it working in backend and but not supporting on service portal
Below is the sample similar box we need to populate on service portal.
Can anyone have idea how to achieve it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 05:10 AM
Hello @Nishita Padwal ,
I have tried using the above code and created widget and calling it from onload catalog client script. But it is not working.
Below is the code for catalog client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 10:13 PM - edited 07-27-2023 11:07 PM
Alright,
Can you add an additional parameter "spModal" in the above solution that I gave, and then check?
function ($scope, $animate, $rootScope, spModal)
Let me know if this works.
Thank you.
(Please don't forget to mark as helpful if it helps. )