- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 03:38 AM
Hi everyone I have a modal, and I need to remove the OOTB buttons "OK" and "Cancel" from it does anyone knows how to do this?
Image:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 04:13 AM
Hi @F_bio Santos ,
Please follow the link to build your solution: https://www.servicenow.com/community/developer-forum/removing-ok-and-cancel-buttons-from-spmodal/m-p...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 04:10 AM
how are you invoking it and from where?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 04:13 AM
Hi @F_bio Santos ,
Please follow the link to build your solution: https://www.servicenow.com/community/developer-forum/removing-ok-and-cancel-buttons-from-spmodal/m-p...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 06:24 AM
It worked but I had to put
buttons: ['',''];
instead of "button"