以编程方式在SharePoint页面中添加Report Viewer Web部件URL [英] Add Report Viewer Web Part URL in a SharePoint page programmatically

查看:81
本文介绍了以编程方式在SharePoint页面中添加Report Viewer Web部件URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我有一个包含页面查看器Web部件的SharePoint页面,我希望基于登录用户组显示报告.

I have a SharePoint page contains page viewer web part , I looking for displaying a report based on the login user group.

EX:

登录用户属于HR SharePoint组,我想检测到该组并根据其组名更改Report Viewer Web部件中的报告URL.

the login user belongs to HR SharePoint Group , I want to detects its group and change the Report URL in Report Viewer Web Part based on its group name.

任何帮助将不胜感激

ANDY

推荐答案

您可以开发从继承的自定义Webpart.

Report Viewer Web部件,编写您的背后代码以实现此目的.

You can develop a custom webpart inherit from the 

Report Viewer Web Part, write your behind code to achieve this.


这篇关于以编程方式在SharePoint页面中添加Report Viewer Web部件URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆