Tuesday, July 3, 2012

Sharepoint 2010 - Filter Web Part with Current User Language

I have to filter a List/Library on current User Language.
I add column Language Code, with values of platform language codes (1033 for english, 1040 for italian).



With Sharepoint Designer 2010, I modified Web Part and I set a new parameter as below, using COOKIE source parameter with "lcid" name:


and the filter :


So, web part shows me documents/items filtered with language = italian/english choosen by user!

For italian:
For english: