Is there a managed property that will contain the URL for the site or subsite that a document lives on? I want to pull all documents from a site collection and have them contain a link to the Document library that they live in, but NOT the document itself. Due to what im using, i would rather not have to parse the Path variable and would like to see if there is an easier solution. Thanks


I have found the property im looking for. With SPWebURL i can pull the url of the site or subsite the document lives in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.