This is really easy to do in C# with the Windows.Browser namespace.
Here is the method I use to accomplish this.
private string getURLParam(string key)
{
string value = "";
HtmlPage.Document.QueryString.TryGetValue(key, out value);
return value;
}
Now I can provide whatever key I would like to consume, in my case a row ID so I know which record to query in the SharePoint list.
No comments:
Post a Comment