I have to prepare .aspx page with XsltListViewWebPart, which query depends on currently logged user. The query is complicated (querying over 3 lists..., I must find my juniors in Department user hierarchy list and filter Invoice list if MultiUserField App_Members contains >1 of my juniors = Inovices I am responsible for). Goal is to show page, where filtered XsltListViewWebPart act as a "Master control" and related items/infopath forms/previewers are connected into it as "related controls". How to solve it, please ?
- If I develop programtically Web part , which contains XsltListViewWebPart as a control included, I will loose all connections and I must handle it my own way.
- If I add XsltListViewWebPart to page FilteredView.aspx using SPLimitedWebPartManager, I think there only static query can be saved...