Share point Renders Lists and libraries in XSLT List View Webpart. today , we will see, How we can filter this list view on the basis of query string.
Ok , it easy . insert the list on to some page, if you want , or use default view i.e AllItems.aspx.
let us take some example.
supose we have to show news in the website. ok . onto home page probably we want to display news in some custom webpart . these news will be linked to items there may be an option to show all news .
Share Point uses filterfield and filter value combination. for ex. considering avobe point in mind , we may have to display only one record on the basis of id . QueryString will be
?FilterField1=ID&FilterValue1=1
this query string will show item with id 1
similarly we can use filters on any field and on also on several fields.
Ok , it easy . insert the list on to some page, if you want , or use default view i.e AllItems.aspx.
let us take some example.
supose we have to show news in the website. ok . onto home page probably we want to display news in some custom webpart . these news will be linked to items there may be an option to show all news .
Share Point uses filterfield and filter value combination. for ex. considering avobe point in mind , we may have to display only one record on the basis of id . QueryString will be
?FilterField1=ID&FilterValue1=1
this query string will show item with id 1
similarly we can use filters on any field and on also on several fields.
No comments:
Post a Comment