Create a Data Form Web Part using SharePoint Designer

To insert a Data Form Web Part, follow these steps:
  1. Open a new Web Part page in SharePoint Designer 2010.
    You can either create your Web Part page in the browser and open it in SharePoint Designer, or you can use SharePoint Designer to create the new Web Part page for you.
  2. Click the Design tab to view your Web Part page in Design mode.
  3. On the Insert tab, click the Data View button and choose Empty Data View.
    SharePoint Designer inserts a new Web Part on the page, and a new set of tabs appears in the Ribbon
 


After you insert the Web Part, your next steps are to select the data source, add your columns, and apply sorting, filtering, and conditional formatting as desired.
To select your data source:
  1. Inside the Web Part, click the Click Here to Select a Data Source link.
    The data sources picker appears.
  2. Select the list or library you want to display in your Web Part and click OK.
    The Data Source Details pane appears.
  3. Ctrl-click the columns you want to appear in your Web Part.
  4. Click the Insert Selected Fields As drop-down list and then choose an option to display the content.
    You have several options:
    • Single Item View or Multiple Item View: Inserts the selected fields so that the Web Part displays one item at a time or several rows at once, respectively.
    • Single Item Form or Multiple Item Form: Displays a data entry form using the field(s) you select.
    • New Item Form: Displays a form for entering new items into your data source 
 


 

Now the Data Form Web Part appears on the screen.
Add / Remove the Columns by using the tab in the Ribbon


Now if you want sort / group based on the coumns required 


Now if you want to filter the Data Form web part by using the Query string. Use Conditional Formatting and do the steps. 

 

Comments

Popular posts from this blog

Activating a SharePoint Feature on Multiple Sites or Site Collections using PowerShell

Managed Path with WildCard and Explicit Inclusion

List All SharePoint 2010 PowerShell Commands