Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Specify View for a Reference field

David Miller1
Tera Guru

Hi all, I have an an application in it own scope. On it I have a reference field that links to the sys_user table (or at least something that extends it).

 

How do I specify that the sys_popup goes to a view i want from that reference field. Is it possible?

1 ACCEPTED SOLUTION

Ok, looks like it's more about the view name of the source table. Once I added one, It started going to the relevant view in the target table. 

 

Thanks for replying.

 

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@David Miller1 

you cannot have multiple sys_popup views on same table

 

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

David Miller1
Tera Guru

I can see one application does seem to append sysparm_view=blah

when linking to the users table. Just can't seem to see how it's doing it to replicate with the application I've got.

@David Miller1 

Can you share screenshot of what you are referring?

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

So there is an Assigned to field which when i press the little i. The sys_popup appears

DavidMiller1_0-1678356938835.png

and I can instantly see the url it will head to has:

DavidMiller1_1-1678356966675.png

Can't see any client scripts that might be appending it on to the url.
There are view rules on both the source and targer table, but from what I can see a view rule seems to change the user to x view as the form loads.