Get a view name

rpepperdine
Kilo Contributor

Hi All,

Does anyone know if there is any documentation for the js-object "view"?
I can only find references to .startsWith and you can do a compare like view == 'ess', but I simply want to get the view-name.

Thanks in advance
Rachel

6 REPLIES 6

jaycoover
Tera Expert

You can also pull it out of the URL when on the view itself. It follows "tablename_list.do%3Fsysparm_view%3D"

In this case the system name for the Self-Service view is "ess".
getviewname.png

jaycoover
Tera Expert

You can also pull the system name for the view out of the URL for the view itself. 

In the below example, it's "ess"
getviewname.png