How to pass parameter information from one Data View Web Part to another Data View Web Part by using Web Part Connections in FrontPage 2003

Article translations Article translations
Article ID: 873020 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

This article describes the steps to pass parameter information from one Data View Web Part to another Data View Web Part by using Web Part Connections in Microsoft Office FrontPage 2003 when you are authoring a Web site that is using Microsoft Windows SharePoint Services or Microsoft Office SharePoint Portal Server 2003.

MORE INFORMATION

The following example illustrates the steps that are required to pass parameter information from one Data View Web Part to another Data View Web part by using Web Part Connections in FrontPage 2003:
  1. Create two XML files. For example, use the following sample code to create two XML files named FileOne.xml and FileTwo.xml:
    FileOne.xml
    ===========
    
    <root>
    	<node>valueOne</node>
    	<node>valueTwo</node>
    </root>
    
    FileTwo.xml
    ===========
    <root>
    	<node>valueThree</node>
    	<node>valueFour</node>
    </root>
    
  2. Create a document library on a Microsoft Windows SharePoint Web site. To do this, follow these steps:
    1. Open a Windows SharePoint Web site.
    2. On the top link bar, click Create.
    3. On the Create Page page, click Document Library.
    4. In the Name box, type a name for the document library. For example, type MyDocumentLibrary.

      Note You cannot leave the Name box empty.
    5. In the Description box, type a description of the purpose of the library.

      Note The description information for the document library is optional.
    6. In the Navigation section, click Yes if you want a link to this list to appear on the Quick Launch bar.
    7. In the Document Versions section, click Yes if you want a backup copy of a file to be created every time that a file is checked in the document library.
    8. In the Document Template section, specify the type of file to be used as a template for new files in this document library.
    9. Click Create.
  3. Import both the FileOne.xml and the FileTwo.xml files that you created in step 1 to the document library. To do this, follow these steps:
    1. On the top link bar, click Documents and Lists.
    2. In the Document Libraries section, click the document library that you created in step 2.
    3. Click Upload Document.
    4. Click Browse to locate the FileOne.xml file, and then click the FileOne.xml file to specify the file name in the Name box.
    5. Click Save and Close.
    6. Repeat steps c through e for the FileTwo.xml file.
  4. Create two Data View Web Parts in FrontPage 2003. To do this, follow these steps:
    1. Start FrontPage 2003.
    2. Open the Windows SharePoint Web site in FrontPage 2003.
    3. Add a new Web page to the Windows SharePoint Web site, and rename theWeb page newpage.aspx.
    4. In the Folder List section, locate and then drag the document library that you created in step 2 to the new Web page to create a new Data View Web Part.
    5. In the Folder List section, under the document library that you created in step 2, locate and then drag the FileOne.xml file to the new Web page to create another Data View Web Part. The Data View Web Part will display the content of the FileOne.xml file in a bulleted list.
    6. Right-click the first Data View Web Part, and then click Web Part Connections.
    7. In the Choose the action on the source Web Part to use for this connection list, click Provide Data Values To, and then click Next.
    8. Under the Choose the page containing the Web Part for the connection section, click Connect to a WebPart on this page, and then click Next.
    9. In the Target Web Part list, select the name of the second Data View Web Part.
    10. In the Target action list, click Modify View Using Parameters From, and then click Next.
    11. In the adjacent cell that is left of the Input File text, click Name (for use in forms) from the list, and then click Next.
    12. Click Next.
    13. Click Finish to complete the connection.
    14. Save the newpage.aspx Web page.
  5. Verify the connection between the Data View Web Parts. To do this, follow these steps:
    1. Open the newpage.aspx Web page in your browser.
    2. In the first Data View Web Part, click FileTwo.xml to display the FileTwo.xml file contents in the second Data View Web Part.
    3. Repeat step b for the FileOne.xml file.

Properties

Article ID: 873020 - Last Review: May 11, 2005 - Revision: 2.4
APPLIES TO
  • Microsoft Office FrontPage 2003
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services 2.0
Keywords: 
kbhowto KB873020

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com