Display list of records based on ui action on ui page in workspace

Shubham Gagneja
Tera Guru

Hello,
I am trying to get record details based on my custom table form in workspace. I have 4 fields on my form, last name, first name, gender and dob. If a user enters value, there is a ui action checks the user info from my custom table based on the field value and opens a ui page displaying the records. I created the ui page and i did call it and i can see the ui page as a modal but info is not there. 
Can someone help me with the logic?

13 REPLIES 13

Can you tell me how can we pass current field values based on workspace ui action script? for me right now i have this

function openUserInfoPage(g_form) {


    var uipageID = "a60cf5ac3b286a101fbcb0d964e45adf";
    g_modal.showFrame({
        url: '/ui_page.do?sys_id=' + uipageID +
        "&first_name=" + firstName +
        "&middle_name=" + middleName +
        "&gender=" + gender +
        "&dob=" + dob,
        title: 'Contender Search Results',
        size: 'xl',
        height: 500
    });
}



Ankur Bawiskar
Tera Patron
Tera Patron

@Shubham Gagneja 

you want to display UI page in workspace?

is it working fine in native?

please share your relevant scripts.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hey @Ankur Bawiskar I have shared it above. 

Shubham Gagneja
Tera Guru

I found another work around!