Solved

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

Posted on 2013-02-04
4
393 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now