How to show the reference field in popup of UI action

Santhosh23
Tera Expert

How to show the reference field in popup of UI action

1 ACCEPTED SOLUTION

@Santhosh

It won't show since it's an OOB way on how to show table list

Regards
Ankur

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

View solution in original post

20 REPLIES 20

Community Alums
Not applicable

Hi Santhosh,

The following should be helpful:

https://www.servicenowguru.com/system-ui/glidedialogwindow_popup_record_list/

https://servicenowguru.com/system-ui/glidedialogwindow-quickforms/

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you saying you want to open an UI page and show reference field inside it?

If yes then this is possible.

Can you share what did you start with and where are you stuck?

Regards
Ankur

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

@Ankur Bawiskar  Thanks for the reply I tried to used glide modal to show he list of users here but it showing the create new form of user.

function showWindow(){
    
    var dialog = new GlideModal("sys_user"); 
    dialog.setTitle("User Details");
    //dialog.setSize(900,800);
    dialog.setWidth(1200);
    dialog.render();
}

Hi,

you can use this

function showWindow(){

    var dialog = new GlideDialogWindow('show_list');
    dialog.setTitle('Users');
    dialog.setPreference('table', 'sys_user_list');
    dialog.setPreference('sysparm_view', 'default');
}

Regards
Ankur

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