?
Solved

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

Posted on 2013-02-04
4
Medium Priority
?
467 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one 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…
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

749 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