Hi i need to get the location of the documents in content query web-part where I have modified the xslt to get the column for documents to display from different sub-sites. I am trying o pull all the checked out items by the user and showing. I have succeeded in doing so by modifying xslt. But when I click on the document or item it is asking me to save or open. I need a column in content query web-part which would take me to the location of document.what property do i need to add to get the location of the corresponding items in CQWP SharePoint 2010.
ContentByQueryWebPart.UseCopyUtil Property sets or sets whether the URL for items should use the View Property page.
Set it to
True in order to render the Item Url as View page Url:
How to update ContentByQueryWebPart.UseCopyUtil property
- Export CQWP
- Open web part file and locate
UseCopyUtilelement, update its value to
- Save changes and upload web part file, then add web part on the page