将URL中的信息传递给Sharepoint

问题描述:

我是新手,但想知道是否有通过GET将外部网站的变量传递给SharePoint Web部件的方法。将URL中的信息传递给Sharepoint

例如 http://mysharepointpage.com/sites?name=Jay&age=23未在SharePoint Web部件中填充我的名称或年龄输入字段。

注:我不得不删除<form method="GET">标签,因为我不断收到错误的建议;

<FORM> tags are not supported in the HTML specified in either the Content property or the Content Link property. You can 
remove the <FORM> tag, or use the Page Viewer Web Part, which supports the HTML <FORM> tag. The Content property can 
be modified in the Rich Text Editor or Source Editor. More about the Page Viewer Web Part 

当我点击它告诉我的链接;

Cannot display help. 
Technical details: HC not found. 

我猜这就是为什么我无法通过URL检索数据。

有关更多信息,将不胜感激。

你的查询串看起来是正确的: Connect a Query String (URL) Filter Web Part to another Web Part

然后,您将需要通过所有关键的页面上执行JavaScript的循环和填充形式要求。

你应该可以使用此链接来帮助你使用javascript或者发布你正在使用的东西:Getting query string values in JavaScript