Microsoft KB Archive/891823

From BetaArchive Wiki
Knowledge Base


How to add the picture data view element to an existing data view from a data source that is on a server that is running Windows SharePoint Services by using SharePoint Designer 2007 or FrontPage 2003

Article ID: 891823

Article Last Modified on 6/8/2007



APPLIES TO

  • Microsoft Office SharePoint Designer 2007
  • Microsoft Office FrontPage 2003
  • Microsoft Windows SharePoint Services



INTRODUCTION

This article describes how use Microsoft Office SharePoint Designer 2007 or Microsoft Office FrontPage 2003 to add the picture data view element to an existing data view from a data source that is on a server that is running Microsoft Windows SharePoint Services.

MORE INFORMATION

To add a column and to set the column type to Picture, follow these steps:

  1. Open the http://ServerName/sites/SiteName/Lists/Announcements/AllItems.aspx Web page in your Web browser.
  2. Add a new column to the Announcements list. To do this, follow these steps:
    1. Click Modify settings and columns.
    2. Click Add a new column.
    3. Type a name for the column.
    4. Click Hyperlink or Picture for the column type.
    5. Click Picture for the URL format.
    6. Click OK.
  3. Click Go back to "Announcements".
  4. Click New Item.
  5. Type the URL for a picture in the Type a Web address box for the picture column element. Type an optional description in the Type a description box.
  6. Click Save and close.
  7. Exit your Web browser.
  8. Add the picture data view. To do this, follow these steps, as appropriate for the program that you are running.

    SharePoint Designer 2007

    1. Open your Windows SharePoint Services site in SharePoint Designer 2007.
    2. Create a new .aspx page in SharePoint Designer 2007.
    3. On the Data menu, click Insert Data View.
    4. In the Data source list, right-click the Announcements list, and then click Show Data.
    5. In the Row list, click Title, press and hold CTRL, click PictureColumnName, release CTRL, and then click Insert Selected Field as.
    6. On the File menu, click Save All.
    7. Exit SharePoint Designer 2007.

    FrontPage 2003

    1. Open your Windows SharePoint Services site in FrontPage 2003.
    2. Create a new .aspx page in FrontPage 2003.
    3. On the Data menu, click Insert Data View.
    4. In the Select a data source list, right-click the Announcements list, and then click Show Data.
    5. In the Row list, click Title, press and hold CTRL, click PictureColumnName, release CTRL, and then click Insert Data View. You should now see the image.
    6. Save the Windows SharePoint Services site.
    7. Exit FrontPage 2003.



Additional query words: kbnoOfficeAlertID SPD2007 FP2003 FP11 FP2k3 WSS

Keywords: kbxml kbhtml kbgraphic kbhowto KB891823