SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Thanks a lot for the help. I used the custom filter web part method to achieve my result. – Shilpa Salian Oct 5 '12 at 7:23

Your Answer


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.