新增、移除或修改文件庫欄或網站欄

附註:  我們想要以您的語言,用最快的速度為您提供最新的說明內容。 本頁面是經由自動翻譯而成,因此文中可能有文法錯誤或不準確之處。讓這些內容對您有所幫助是我們的目的。希望您能在本頁底部告訴我們這項資訊是否有幫助。 此為 英文文章 出處,以供參考。

When you design a Microsoft Office InfoPath form template, you can choose whether to display the data that users enter into specific fields in the form as columns in the default view of a document library on a Microsoft Windows SharePoint site. You can choose which fields to use as columns when you design your form template, or you can wait to specify the columns when you publish your form template to the document library.

本文內容

Before you begin

Specify document library columns when you design a form template

Specify document library columns when you publish a form template to a new document library

Specify document library columns when you publish a form template to an existing document library

開始之前

When you publish a form template to a document library, every form that is created in that document library will be based on that form template. Publishing a form template to a document library lets you quickly deploy a single-use form, such as an informal survey to capture restaurant preferences for a team lunch.

If you publish a form template to a server that is running Windows SharePoint Services 3.0, you can also do the following:

Publish a form template as a site content type     When you publish a form template as a site content type, you enable users to assign multiple form templates to a single document library or to assign the form template to multiple libraries across a site collection. A site collection is a set of Web sites on a virtual server that have the same owner and share the administration settings. Each site collection contains a top-level Web site and can contain one or more subsites. There can be multiple site collections on each virtual server. Use a site content type when you want to widely reuse information or to enable the collection of data from many forms in a single place.

Enable users to edit fields by using a datasheet view    You can allow your users to add or edit data for a field by using a datasheet view or by editing the properties for a form in the document library. This enables users to add or update data for one or more forms without actually opening the forms.

附註: Datasheet views are enabled in the Web browser only for users who have Microsoft Office Access 2007 installed.

附註: Support for libraries and site content types varies, depending on whether your server is running Microsoft Windows SharePoint Services 2.0 or Windows SharePoint Services 3.0. Therefore, you should ask the server administrator if you are not sure which version of Windows SharePoint Services is running on the server.

Top of Page

Specify document library columns when you design a form template

  1. Open the form template.

  2. On the Tools menu, click Form Options.

  3. Click Property Promotion.

  4. 請執行下列其中一項操作:

    • To add a column, click Add, click the field or repeating group for which you want to create a column, and then type a name for the column in the Column name box.

      附註: If you select a repeating field to display data in the document library, you can define how you want to display the field in the document library by clicking a value in the Function list. You can choose whether to display the first value in the field, the last value in the field, or a count of all of the occurrences of the field or whether to merge all of the values together.

    • To remove a column, click the column in the list, and then click Remove.

    • To modify a column, click the column in the list, click Modify, and then make the appropriate changes.

      附註: Some options for adding, removing, or modifying columns are available only when you publish to a SharePoint site.

Top of Page

Specify document library columns when you publish a form template to a new document library

  1. Save your form template.

  2. On the File menu, click Publish.

  3. In the Publishing Wizard, click To a SharePoint server with or without InfoPath Forms Services, and then click Next.

  4. In the Enter the location of your SharePoint or InfoPath Forms Services site box, type the location of the SharePoint site, and then click Next.

  5. On the next page of the wizard, click Document Library, and then click Next.

    附註: If you are publishing a 瀏覽器相容的表單範本 to a SharePoint site, the Enable this form to be filled out by using a browser check box is unavailable. To create a 瀏覽器使用的表單範本, you must publish your form template to a server that is running InfoPath Forms Services. Find links to more information about InfoPath Forms Services in the See also section.

  6. Click Create a new document library, and then click Next.

  7. Type the name and description for the document library, and then click Next.

    The name and description of the form template will appear in the default view of the document library.

  8. 請執行下列其中一項操作:

    新增欄

    1. 按一下 [新增]。

    2. 請執行下列其中一項操作:

      • To add a new column to the document library, select the field whose data you want to appear in the column, select (None: Create new column in this library) in the Site column group list, and then type a name for the column in the Column name box.

      • To use an existing site column, select the category in the Site column group list, and then select a name in the Column name list.

        附註: If you select a repeating field to display data in the document library, you can define how you want to display the field in the document library by clicking a value in the Function list. You can choose whether to display the first value in the field, the last value in the field, or a count of all of the occurrences of the field or whether to merge all of the values together.

        1. To enable users to add or edit data for this field by using a datasheet view or by editing the properties for a form in the document library, select the Allow users to edit data in this field by using a datasheet or properties page check box.

          附註: To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.

    Remove a column

    1. Under Column Name, click the name of the field whose corresponding column you want to remove, and then click Remove.

    Modify a column

    1. Under Column Name, click the name of the field whose corresponding column you want to modify, and then click Modify.

    2. 請執行下列其中一項操作:

      • Type a new name for the column in the Column name box.

      • Select the category in the Site column group list, and then select a name in the Column name list.

        附註: If you select a repeating field to display data in the document library, you can define how you want to display the field in the document library by clicking a value in the Function list. You can choose whether to display the first value in the field, the last value in the field, or a count of all of the occurrences of the field or whether to merge all of the values together.

        1. To enable users to add or edit data for this field by using a datasheet view or by editing the properties for a form in the document library, select the Allow users to edit data in this field by using a datasheet or properties page check box.

          附註: To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.

  9. When you finish defining the columns for your library, click Next.

  10. On the next page of the wizard, verify that the information is correct, and then click Publish.

Top of Page

Specify document library columns when you publish a form template to an existing document library

  1. Save your form template.

  2. On the File menu, click Publish.

  3. In the Publishing Wizard, click To a SharePoint server with or without InfoPath Forms Services, and then click Next.

  4. In the Enter the location of your SharePoint or InfoPath Forms Services site box, type the location of the SharePoint site, and then click Next.

  5. On the next page of the wizard, click Document Library, and then click Next.

    附註: If you are publishing a 瀏覽器相容的表單範本 to a SharePoint site, the Enable this form to be filled out by using a browser check box is unavailable. To create a 瀏覽器使用的表單範本, you must publish your form template to a server that is running InfoPath Forms Services. Find links to more information about InfoPath Forms Services in the See also section.

  6. Click Update the form template in an existing document library, and then click the document library that you want to update.

  7. 按一下 [下一步]。

  8. 請執行下列其中一項操作:

    新增欄

    1. 按一下 [新增]。

    2. 請執行下列其中一項操作:

      • To add a new column to the document library, select the field whose data you want to appear in the column, select (None: Create new column in this library) in the Site column group list, and then type a name for the column in the Column name box.

      • To use an existing document library column or site column, select the category in the Site column group list, and then select the name in the Column name list.

        附註: If you select a repeating field to display data in the document library, you can define how you want to display the field in the document library by clicking a value in the Function list. You can choose whether to display the first value in the field, the last value in the field, or a count of all of the occurrences of the field or whether to merge all of the values together.

        1. To enable users to add or edit data for this field by using a datasheet view or by editing the properties for a form in the document library, select the Allow users to edit data in this field by using a datasheet or properties page check box.

          附註: To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.

    Remove a column

    1. Under Column Name, click the name of the field whose corresponding column you want to remove, and then click Remove.

    Modify a column

    1. Under Column Name, click the name of the field whose corresponding column you want to modify, and then click Modify.

    2. 請執行下列其中一項操作:

      • Type a new name for the column in the Column name box.

      • Select the category in the Site column group list, and then select a name in the Column name list.

        附註: If you select a repeating field to display data in the document library, you can define how you want to display the field in the document library by clicking a value in the Function list. You can choose whether to display the first value in the field, the last value in the field, or a count of all of the occurrences of the field or whether to merge all of the values together.

        1. To enable users to add or edit data for this field by using a datasheet view or by editing the properties for a form in the document library, select the Allow users to edit data in this field by using a datasheet or properties page check box.

          附註: To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.

  9. When you finish defining the columns for your library, click Next.

  10. On the next page of the wizard, verify that the information is correct, and then click Publish.

Top of Page

增進您的 Office 技巧
探索訓練
優先取得新功能
加入 Office 測試人員

這項資訊有幫助嗎?

感謝您的意見反應!

感謝您的意見反應! 我們將協助您與其中一位 Office 支援專員連絡以深入了解您的意見。

×