Thursday, June 12, 2014

List Checkout documents using search

Share/Save/Bookmark

Today im gonna show you an easiest OOTB approach using search(with no coding) to list/display all checked out documents(across webapp/site collections) to current user. Based on the result sources/content source configured on sharepoint farm, search query can be run on wider scope of data.

Configure content search webpart with the below query(copy paste in query text box) in advanced mode. 

 CheckoutUserOWSUSER:{User.Name} {contentclass:STSListItem OR IsDocument:True}

Subscribe

2 comments:

  1. This is just what I'm looking for but am getting a syntax error when trying it in the advanced mode?

    ReplyDelete
  2. Use ( ) instead of { } around the 2nd statement:

    CheckoutUserOWSUSER:{User.Name} (contentclass:STSListItem OR IsDocument:True)


    Furthermore the order of the statements is important, but as noted here it works like a charm, thank you very much!

    Regards
    Constanze

    ReplyDelete