How to create HREF/URL with filtering

brittanyg_
Kilo Expert

Working in Portal development, I have 3 Icon link widgets that I am trying to leverage OOB list functionality instead of creating a new page. Links work, however, I cannot figure how to add filterint to the URL to only show items assigned to them. I have 3 widget on the User profile page (My Groups - to shows all groups the user is a member of, Set a Delegate - Users can set a delegate while away, My assests - view all CI's assigned to them) But currently they just list all items in the table. Is there a way to add a condition to the url (that opens in SP and not fulfiller view) or do I need to create a page?

1 ACCEPTED SOLUTION

I was able to add the filter condition to the short URL

(ex. /sptable=cmdb_ci&id=list&filter=assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe)

 

I used the short URL to avoid issues when moving instances

View solution in original post

2 REPLIES 2

amaradiswamy
Kilo Sage

Hi,

Yes, you dont need to need to create a new page. The page "list" will accept a parameetr "filter" which will apply this filter.

Below link will list only active users

https://<instance-name>.service-now.com/4help?id=list&table=sys_user&filter=active%3Dtrue

I was able to add the filter condition to the short URL

(ex. /sptable=cmdb_ci&id=list&filter=assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe)

 

I used the short URL to avoid issues when moving instances