Did you know that you can go directly to a table form or list from the Application Navigator?

Danny Mortense1
ServiceNow Employee
ServiceNow Employee

Did you know?

Did you know that you can go directly to a table form or list from the Application Navigator?

Well of course you can, just type the module name into the navigator filter and it will show a filtered list in the Application Navigator. OK, yes that works, but what if there is no module for your table?

In the Application Navigator filter you can type the name of the physical table name (not the label), and go directly to a list, form or the application files of that table. No kidding.

So, what's a label? Well, the label of the user table is 'User', but the actual table name is 'sys_user'. The group table has a label of Group, but the table name is 'sys_user_group'.

For example if you wanted to see a list of all of the incidents in your instance you can type incident.list into the application navigator filter. This will display a list view of all of the incidents. You can do this with any table for which you have access normally.

But wait, there is more. Here are the commands that can help you if you know the actual table name. Here is a list:

<tablename>.list                             - display a list of All <tablename> records.

<tablename>.LIST                       - display a list of All <tablename> records in a new browser tab.

<tablename>.do                             - display a form to create a new record in <tablename>.

<tablename>.form                       - display a form to create a new record in <tablename>.

<tablename>.FORM                 - display a form to create a new record in <tablename> in a new browser tab.

<tablename>.config                   - display all of the application files for <tablename>.

<tablename>.CONFIG           - display all of the application files for <tablename> in a new browser tab.

So, as a system administrator you might like to display a list of records in tables subs as 'sys_properties' or 'sys_update_xml'. There aren't any modules for these but they are useful tables to access directly.

NOTE: This is one of a series of Did you know posts by me. I will be picking random snippets of information that I feel are useful to know, but may not be common knowledge amongst newer users of ServiceNow.

If you find this information help then please let me know by making a comment and marking the post as helpful.

8 REPLIES 8

Lakshmaiah Dump
Giga Expert

Hi Danny Mortensen,



Previously I was aware of <tablename>.list and <tablename>.do.   But now got it from you <tablename>.form and <tablename>.config.


Following things are new and helpful to me.



<tablename>.form                       - display a form to create a new record in <tablename>.


<tablename>.config                   - display all of the application files for <tablename>.



May be this type of content should be in blogs.



Thanks,


Lakshmaiah


Thanks for the feedback Lakshmaiah. This would be great in a blog, but this is just my own initiative to see if this info is helpful. I may investigate getting set up with a blog if that is possible.


There is a lot of information in the community for the advanced scripters and users, but not so much for newbies to ServiceNow. This is my attempt to fill that hole a little.


I appreciate the feedback and hope that this is useful.



I also welcome anyone with more to add about my contributions to please feel free to expand and share.


haninger_3
Tera Guru

I recently happened across .filter, which lets you skip loading the list and just displays the filter. This is great for when you want to load huge tables like cmdb_ci or task or tables that you otherwise just KNOW will time out. It saves waiting for the post-15-second pop-down counter thing.

You can play around with your own .action things in the UI Script (sys_ui_script.list) called "NavFilterExtension". I've played around with things like .today for records created today and such, but only in a non-Prod instance.

I went to this ui script, which was disabled, enabled it, and uncommented out the sample for .dict.  it wont work though.  do i need to enable something else to get the NavFilterExtension to work?