Solved

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

Posted on 2013-02-04
4
436 Views
Last Modified: 2013-02-04
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.
0
Comment
Question by:bsmcy
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
ID: 38850357
0
 

Author Comment

by:bsmcy
ID: 38850631
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
 

Author Closing Comment

by:bsmcy
ID: 38851167
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
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38851170
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question