Domanda

I would like to search only document libraries in a site(not the document). I tried below search but its returning documents within the document library.

path:"http://localhost/managedpath/sitename" and contentclass:"STS_List"

È stato utile?

Soluzione

Check out this page that gives more examples of the other contentclasses you can use for your search query. SharePoint Power Searching Using ContentClass

See the List ContentClass codes table where STS_List_DocumentLibrary might do the trick.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top