- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 08:17 AM
How to pass a view into a menu item?
Hello,
I am a trying to pass a view parameter in a menu item record
Type = URL
HREF/URL =
&table=TABLE_NAME&sysparm_view=work_in_progress_-_portal&filter=state=10^sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()
everything in the 'HREF/URL' works except the view part !!!
from the UI View record::
Name: work_in_progress_-_portal
Title: Work in progress - portal
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 08:36 AM
In HREF/URL, use this:
&table=TABLE_NAME&view=work_in_progress_-_portal&filter=state=10^sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()
Give me those points! 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 08:36 AM
In HREF/URL, use this:
&table=TABLE_NAME&view=work_in_progress_-_portal&filter=state=10^sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()
Give me those points! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 10:28 AM
well earned points my friend!
thanks!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 08:37 AM
Hello,
Please add this parameter to the above URL
&view=default //replace it with your view name
please accept the solution if it helps you and give those mega points haha
example
&table=TABLE_NAME&view=work_in_progress_-_portal&filter=state=10^sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 08:50 AM
Hi there,
What's the reason for mentioning in most of your question titles things like "super easy points", "free points", "easy points". It's not the first, second, or third time you are doing this.
And if so, why don't you solve it yourself if it's so easy?
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field