Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

773 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