Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Select displayed search column with URL parameter

riverm4n
Kilo Explorer

I'm stuck at the moment. I need to be able to send someone a link to a search query that I've made on my end. I want the exact same columns to show up when I send this link out. I specifically need the "assigned" column to show up remotely without the person on the other end having to add the column on their own.

Here is what I'm trying now.

[servicenowinstance].com/retreived_items_list.do?sysparm_fields=retreived_items_list.assigned

Does this look right? Am I just using the wrong variable name to get the column to show up? Is there a direct way I can find the name of the "assigned" variable I should be using?

4 REPLIES 4

bpeters4
Tera Guru

You could create a custom view with the assigned field and then add &sysparm_view=(viewname) to the end of the URL.   I had to do this on a export URL to indicate which fields we wanted exported. Wiki Article http://wiki.servicenow.com/?title=Navigating_by_URL#gsc.tab=0


I'm lost. Wouldn't I have to create this custom view for everyone that uses our servicenow instance? I should mention that I dont have any administrative abilities. This is why I was hoping I could add just one column to my results purely with url parameters.



I hope I'm coming through clearly. maybe I can rephrase it with this situation.



Me: "Hey Bill. Check out these item results I found with my custom view that includes the creation date column."


Sends url to Bill*


Bill: "Cool. I can see the results on my end along with the creation date column!"



I guess I just want Bill to be happy without him having to add the column himself.


Yes to add a new view it would help to have admin rights.   This was the only method I could find to designate what columns were displayed from a URL.


rlatorre
Kilo Sage

Try just creating a report with your query and the needed columns. You can share the report with users/groups and also publish the report. If you don't have these rights you'll need a report admin role.