Fill in information from one web-part to another in Sharepoint Designer 2010

I have two web-parts on a page that I use for article display. Each article is being pulled from a suffix string ( ...list.aspx?ID=6 ) in the first web part.

The second web-part is essentially a submit form. the submit form has two text fields displayed. One being a multi-line user comment field and the other is the Page ID field that I want to be filled in dynamically.

What is the best method to connect the ID field of one web-part to Page ID in the other web-part.

Add a query connection? Or a java-script code to fill in the text-field with the URL suffix?

Thank you in advance.
bsmcyAsked:
Who is Participating?
 
Roopesh ReddyConnect With a Mentor IT AnalystCommented:
0
 
bsmcyAuthor Commented:
Query_String would work, but can you please direct me as to how I can apply it? Perhaps by setting it as a default value. I am using Sharepoint Designer 2010
0
 
bsmcyAuthor Commented:
Defining parameters works using QueryString and then recalling it as Text="$ParamName"

This website https://www.nothingbutsharepoint.com/sites/eusp/Pages/setting-sharepoint-form-fields-using-query-string-variables-without-using-javascript.aspx explains everything
0
 
Roopesh ReddyIT AnalystCommented:
Hi,

Check this article - http://blogs.msdn.com/b/ritazh/archive/2012/08/23/populate-sharepoint-list-item-fields-from-querystring-parameter-using-infopath-and-querystring-filter-web-part.aspx

Many more available, if you google! Moreover, i don't have SharePoint 2010 to show you the code!

Hope it helps u...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.