Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Restricting SharePoint Search to a List View

$
0
0
I am able to Restrict Share Point Search programatically to a List and its working well. Below is how i am restricting to list.

var searchWord = KeyWord + "* AND PATH:" +listUrl

Now i want to restrict to just a List View.

var searchWord = KeyWord + "* AND PATH:" +listUrl+"/"+ListViewName

I tried adding name of List view to Search Word however its not working, any ideas???????????

**Note: I can't use CAML query which would have made my life easier, just not in this case though **

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>