I want to create a dynamic view on my list. The list is filtered based on the current users' information coming from an external database i.e. based on which user is logged in, a value is fetched from external database and based on that value i want my SharePoint list to be filtered.

How can i do this. I am newbie in SharePoint. Any help would be really great.


1 Answer 1


If you can use C# to find out what username to filter for you could try to use the Filter Web Part to filter a standard XSLTListViewWebPart. It should accept FilterName and FilterValue. If you can't use the built in Filter Web Part you could write your own.

Another option is to refresh the page with the query string for this, like:


Noet that this does not work for wildcards, as far as I know.

  • Thanks a lot for the help. I used the custom filter web part method to achieve my result. Commented Oct 5, 2012 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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