Is it possible to have a modal window when creating a record?

Tepp
Tera Expert

Dear Experts.

 

Is it possible to have a modal window when creating a record?
For example, after clicking on the UI action “New”, I would like to have a new modal window appear to allow the user to perform the input operation.
If a modal window is not possible, but a new window can be displayed, I would like to have that information as well.

 

Thank you in advance.

6 REPLIES 6

Deepak Shaerma
Kilo Sage

Hi @Tepp 

this is not possible to override the default “New” button (which is platform-generated) to open a modal window out-of-the-box. However, you can implement custom solutions.

You can simulate a custom UI Action (e.g., button or link) that opens the new record form in a new browser window or tab.

var url = "/your_table.do?sys_id=-1";
window.open(url, "_blank", "width=800,height=600");

You could use GlideModal or custom modals with iFrames, but this is generally unsupported and discouraged in the classic UI.


Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning ‌‌
Thanks & Regards 
Deepak Sharma 

Hi @Deepak Shaerma 

Very helpful.
Is it possible to open in a modal window instead of a new browser window?

Hi @Tepp 

You could use GlideModal or custom modals with iFrames, but this is generally unsupported and discouraged in the classic UI. It might break with upgrades and is not responsive or accessible.

Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning ‌‌
Thanks & Regards 
Deepak Sharma 

 

 

Hi @Deepak Shaerma 

How about using GlideDialogForm to achieve this?