我想在我的列表上创建动态视图。该列表基于来自外部数据库的当前用户的信息,即,基于哪个用户登录,从外部数据库中获取值,并基于该值,我希望将SharePoint列表过滤。

如何这样做。我是SharePoint的新手。任何帮助都会真的很棒。

感谢

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top