Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there any chance to write a sort expression to sort the items in document library by logged in user.

I want show all the documents and documents uploaded by the current logged in user will display first remaining documents will display next in same view itself.

share|improve this question
add comment

1 Answer

Create two web parts with view filters with Assigned To Equals "[Me]" and one with Assigned To Not Equal "[Me]"

The [Me] token is the current user.

You can add useful headers like "My Shared Documents" and "Others Shared Documents"

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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