Showing posts with label Submit form data to a SharePoint library InfoPath 2007. Show all posts
Showing posts with label Submit form data to a SharePoint library InfoPath 2007. Show all posts

Submit form data to a SharePoint library InfoPath 2007

Author: mety Labels::



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.

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 Microsoft 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.
Note Datasheet views are enabled in the Web browser only for users who have Microsoft Office Access 2007 installed.
Note 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.

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. Do one of the following:
    • 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.
      Note 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.
      Note Some options for adding, removing, or modifying columns are available only when you publish to a SharePoint site.

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.
    Note If you are publishing a browser-compatible form template (browser-compatible form template: A form template that is designed in InfoPath by using a specific compatibility mode. A browser-compatible form template can be browser-enabled when it is published to a server running InfoPath Forms Services.) to a SharePoint site, the Enable this form to be filled out by using a browser check box is unavailable. To create a browser-enabled form template (browser-enabled form template: A browser-compatible form template that has been published to a server running InfoPath Forms Services, and that has been browser-enabled so that users can both display and fill out the form in a Web browser.), 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.
    Note The name and description of the form template will appear in the default view of the document library.
  8. Do one of the following:
    1. Click Add.
    2. Do one of the following:
      • 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.
      Note 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.
    3. 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.
      Note To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.
    • Under Column Name, click the name of the field whose corresponding column you want to remove, and then click Remove.
    1. Under Column Name, click the name of the field whose corresponding column you want to modify, and then click Modify.
    2. Do one of the following:
      • 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.
      Note 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.
    3. 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.
      Note 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.

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.
    Note If you are publishing a browser-compatible form template (browser-compatible form template: A form template that is designed in InfoPath by using a specific compatibility mode. A browser-compatible form template can be browser-enabled when it is published to a server running InfoPath Forms Services.) to a SharePoint site, the Enable this form to be filled out by using a browser check box is unavailable. To create a browser-enabled form template (browser-enabled form template: A browser-compatible form template that has been published to a server running InfoPath Forms Services, and that has been browser-enabled so that users can both display and fill out the form in a Web browser.), 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. Click Next.
  8. Do one of the following:
    1. Click Add.
    2. Do one of the following:
      • 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.
      Note 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.
    3. 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.
      Note To use a datasheet view, users must have Microsoft Office Access 2007 installed on their computers.
    • Under Column Name, click the name of the field whose corresponding column you want to remove, and then click Remove.
    1. Under Column Name, click the name of the field whose corresponding column you want to modify, and then click Modify.
    2. Do one of the following:
      • 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.
      Note 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.
    3. 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.
      Note 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

0 comments |

Submit form data to a SharePoint library InfoPath 2007

Author: mety Labels::



You can store and organize all of your users' forms in a document library on a server that is running Microsoft Windows SharePoint Services. In the document library, users can fill out forms that are based on your form template, export data from completed forms to Microsoft Office Excel 2003 or Microsoft Office Excel 2007, or merge the data from several forms into one form.
To allow users to submit forms that are based on your form template to a document library, you can add a secondary data connection to your form template that submits the data. After you add the submit data connection, you can configure the form template to allow your users to submit their form data to the document library. When you do so, Microsoft Office InfoPath adds a Submit button to the Standard toolbar and a Submit command to the File menu on the form. You can also customize the submit options for your form template in the following ways:
  • Change the text that appears on the Submit button on the Standard toolbar and the Submit command on the File menu.
  • Change the keyboard shortcut for the Submit button on the Standard toolbar and the Submit command on the File menu.
  • Create custom messages to display to your users when they submit their forms.
  • Specify whether to leave the form open, close the form, or open another blank form after the form is submitted.

Add a submit data connection

  1. On the Tools menu, click Submit Options.
  2. In the Submit Options dialog box, select the Allow users to submit this form check box.
  3. Click Send form data to a single destination, and then click SharePoint document library in the list.
  4. Click Add.
  5. In the Data Connection Wizard, in the Document library box, type the location of the SharePoint document library.
  6. In the File name box, type a name that will be used to identify the form in the document library. Tip You can also use a formula to ensure that each form name is unique.
    ShowHow?
    1. Click Insert Formula Button image.
    2. In the Insert Formula dialog box, do one of the following:
      • To use a field in the formula, click Insert Field or Group, click the field that you want to use in the Select a Field or Group dialog box, and then click OK.
      • To use a function in the formula, click Insert Function, select the function that you want to use in the Insert Function dialog box, and then click OK. Tip If the function requires parameters, select the function in the Insert Function dialog box, click OK, and then in the Formula box in the Insert Formula dialog box, double-click the function that you added, and click a field or group. Find links to more information about functions in the See Also section.
      • To insert a value or mathematical operator into the formula, type the value or the symbol for the mathematical operation in the Formula box.
        OperationSymbol
        Add+
        Subtract-
        Multiply*
        Divide/
        Note If your formula uses the division (/) operator, make sure that there is a space before and after the division operator. If the division operator does not have a space before and after it, InfoPath may interpret "/" as a separator for XPath location steps rather than as a division operator.
    3. To check the formula for the correct syntax, in the Insert Formula dialog box, click Verify Formula. Find links to more information about formulas in the See Also section.
  7. To overwrite any existing forms with the same name in the document library, select the Allow overwrite if file exists check box.
  8. Click Next.
  9. On the next page of the wizard, in the Enter a name for this data connection box, type a descriptive name for this submit data connection.
  10. Verify that the information is correct in the Summary section, and then click Finish.
  11. To change the name of the Submit button that appears on the Standard toolbar and the Submit command that appears on the File menu when users fill out the form, type the new name in the Caption box in the Submit Options dialog box. Tip If you want to assign a keyboard shortcut to this button and command, type an ampersand (&) before the character that you want to use as a keyboard shortcut. For example, to assign ALT+B as the keyboard shortcut for the Submit button and command, type Su&bmit.
  12. If you do not want people to use a Submit command or the Submit button on the Standard toolbar when they fill out your form, clear the Show the Submit menu item and the Submit toolbar button check box.
  13. By default, after users submit a form, InfoPath keeps the form open and displays a message to indicate if the form was successfully submitted. To change this default behavior, click Advanced, and then do one of the following:
    • To close the form or create a new blank form after the user submits a completed form, click the option that you want in the After submit list.
    • To create a custom message to indicate if the form was successfully submitted, select the Use custom messages check box, and then type your messages in the On success and On failure boxes. Tip Use a message in the On failure box to tell users what to do if they cannot submit their form. For example, you can suggest that users save their form and contact someone for further instructions.
    • If you do not want to display a message after the user submits a form, clear the Show success and failure messages check box.


0 comments |

Labels

Powered by Blogger.

I made these pages for me and my friends to help solving the problem we face regarding Computer & internet, if anyone wants me to answer a question or find out about some information please send me email and I will try to reply.*P.S. some of the article I wrote and the other I found on the internet I posted them in sprit of learning and shearing, please forgive me if you found something you don’t want to be in my blog, email me and I will delete them. Thank you for your interest in my pages.امل نجم Amal Nagm

banner 1 banner 2