开发者

Passing parameters through sharepoint sitepage to web part

开发者 https://www.devze.com 2023-04-05 21:28 出处:网络
So I\'m building sharepoint p开发者_JAVA技巧ages that are consisted of web parts. I need to send parameter to a page, and that send it further to these web parts, and I have no idea how to do this...O

So I'm building sharepoint p开发者_JAVA技巧ages that are consisted of web parts. I need to send parameter to a page, and that send it further to these web parts, and I have no idea how to do this...


OOTB way:

You can use query string filter web part to capture the query string values and pass it to the web parts.

http://office.microsoft.com/en-us/sharepoint-server-help/connect-a-query-string-url-filter-web-part-to-another-web-part-HA010250999.aspx

Custom WebParts:

You can use the following code snippet to capture the query string.

Request.QueryString["param"]
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号