How To Create Data Form Web Part In SharePoint 2010

SharePoint 2010 offers a powerful feature called Data Form Web Part that allows you to create and customize list views for efficient data management. With SharePoint Designer 2010, you can easily create and enhance the Data Form Web Part to suit your specific needs.

To create a Data Form Web Part, follow these simple steps:

  1. Open SharePoint Designer 2010 and navigate to your site.
  2. In the Navigation pane, click on “Lists and Libraries”.
  3. Open the list that you want to associate with the Data Form Web Part.
  4. Click on the “Options” tab and use the view editing options to customize the List View.
  5. To add, remove, or rearrange columns, click on the “Options” tab and then click on “Add/Remove Columns”. Use the Edit Columns dialog box to make the necessary changes.
  6. To sort and group columns, click on the “Options” tab and then click on “Sort & Group”. Use the Sort and Group dialog box to customize the sorting and grouping options.
  7. To apply a filter to the view, click on the “Options” tab and then click on “Filter”. Use the Filter dialog box to define the filter criteria.
  8. To apply conditional formatting to the view, click on the “Options” tab and then click on “Conditional Formatting”. Use the Conditional Formatting dialog box to specify the formatting rules.
  9. To enable paging, click on the “Options” tab and then click on “Paging”. Use the Paging dialog box to configure the paging options.
  10. To enable inline editing, click on the “Options” tab and then click on “Enable Inline Editing”. This allows users to edit the data directly in the Data Form Web Part.
  11. To enable asynchronous updates, click on the “Options” tab and then click on “Enable Asynchronous Updates”. This improves the performance of the Data Form Web Part by retrieving data asynchronously.
  12. To add toolbar options, click on the “Options” tab and then click on “Add Toolbar Options”. Use the Toolbar Options dialog box to customize the toolbar buttons.
  13. To apply view styles, click on the “Options” tab and then click on “Apply View Styles”. Use the View Styles dialog box to select the desired style for the Data Form Web Part.
  14. Once you have made all the necessary customizations, click on “OK” to apply the changes to the view.

In addition to creating the Data Form Web Part, you can also customize list forms in SharePoint 2010 to provide a tailored user experience. SharePoint Designer 2010 allows you to create custom forms for adding, editing, and viewing items in a list or library.

To create a custom list form, follow these steps:

  1. Open SharePoint Designer 2010 and navigate to your site.
  2. In the Navigation pane, click on “Lists and Libraries”.
  3. Open the list or library that you want to customize the forms for.
  4. On the summary page, under “Forms”, you can see the default forms associated with the list or library.
  5. To create a new list form, click on “New” under “Forms”. Specify a file name for the new form and select the type of form (new item form, edit item form, or display item form).
  6. To make the new form the default form for the selected type, click on “Set as default form for the selected type”.
  7. To edit an existing form, click on the form you want to edit, and it will open in the page editor.
  8. To add a custom form, place the cursor below the default form and press Enter a few times to create empty space. Then, click on the “Insert” tab in the Ribbon and select the desired form from the “Data Views & Forms” group.
  9. Once you have added the custom form, you can hide the default form by selecting it and clicking on the “Format” tab in the Ribbon. In the “Web Part” group, click on “Properties” and select the “Hidden” option.
  10. Save the changes, and your custom form is ready.

Note that Microsoft InfoPath 2010 is another tool that you can use to create and customize forms in SharePoint 2010. InfoPath offers more advanced customization options and allows you to create highly customized forms for SharePoint lists, libraries, and workflows.

What Are the Differences Between Data Form Web Part in SharePoint 2010 and Html Form Web Part in Sharepoint 2013?

There are notable distinctions between the Data Form Web Part in SharePoint 2010 and the Html Form Web Part in SharePoint 2013. The latter, adding HTML form webpart, introduces enhanced functionality and an improved user experience by leveraging newer technologies and embracing HTML5 standards. This enables more dynamic and visually appealing forms, making it easier to design and customize web parts in SharePoint 2013.

Customizing List Forms in SharePoint 2010

SharePoint Designer 2010 provides the tools to create and customize list forms in SharePoint 2010, allowing you to design user-friendly interfaces for managing your data. With SharePoint Designer 2010, you can easily add, edit, and view items in a list or library, tailoring the forms to meet your specific needs.

To get started, open SharePoint Designer 2010 and navigate to your site. From the Navigation pane, click on “Lists and Libraries” and open the list or library you want to customize the forms for. On the summary page, you’ll find the default forms associated with the list or library.

To create a new list form, simply click on “New” under “Forms” and specify a file name for the new form. Select the type of form you want to create: new item form, edit item form, or display item form. You can also set the new form as the default form for the selected type.

If you want to edit an existing form, simply click on the form and it will open in the page editor. To add a custom form, create empty space below the default form, click on the “Insert” tab in the Ribbon, and select the desired form from the “Data Views & Forms” group. You can also hide the default form by selecting it, clicking on the “Format” tab in the Ribbon, and choosing the “Hidden” option in the “Web Part” group.

SharePoint Designer 2010 empowers you to create and customize list forms to suit your business requirements. Whether it’s adding custom fields, rearranging form elements, or designing a unique user interface, SharePoint Designer 2010 offers the flexibility to create personalized and efficient data management solutions in SharePoint 2010.

Meet the Author

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.