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

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.

Thanks

share|improve this question
add comment

1 Answer

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:

?FilterField1=AssignedTo&FilterValue1=Eirik%20Brandtzæg

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
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.