The CreatorCon Call for Content is officially open! Get started here.

I am a trying to pass a view parameter in a menu item record (semi easy points)

juan casas
Mega Expert

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

1 ACCEPTED SOLUTION

AnirudhKumar
Mega Sage

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! 🙂

View solution in original post

4 REPLIES 4

AnirudhKumar
Mega Sage

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! 🙂

well earned points my friend!

thanks!!!!

Mohith Devatte
Tera Sage
Tera Sage

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 Roethof
Tera Patron
Tera Patron

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

LinkedIn