How do I remove the "ok" and "cancel" buttons from a spModal?

F_bio Santos
Kilo Sage

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:

F_bioSantos_0-1697107084097.png

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable
3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@F_bio Santos 

how are you invoking it and from where?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

It worked but I had to put

buttons: ['',''];


instead of "button"