sharepoint - Setting a TextFilter's value from a Query String (URL) Filter -
i'd start off saying i'm new sharepoint, i'm sorry if i'm asking obvious. i've done quite bit googling , can't find answer question. leads me believe maybe i'm asking wrong question. so, here goes:
we have sharepoint webpage contains 3 web parts (2 lists , text filter). text filter can used filter 2 lists. i've been asked provide following functionality:
- a user must able open page http link (easy)
- the text-filter must automatically filled-in , applied, filtering 2 lists
this seemed pretty straight-forward me: pull parameter page's url , feed filter. found , added query string (url) filter , managed pull parameter url, can't feed existing filter!
sure, can pass value 2 lists (effectively coding same filter 2 different ways) seems wrong. so, question boils down this:
is possible set text filter's value query string (url) filer?
am asking wrong question? looking @ problem in wrong way? appreciated, thanks.
i was asking wrong question!
it seems can set text filter's value on page-load through url. here's how:
http://sharepoint-server/site/subsite/project/default.aspx?text%20filter%20name=999
where text%20filter%20name name of text filer (in case, spaces in name), , 999 value you're passing filter.
Comments
Post a Comment