Create a Polling Web Part with SharePoint Designer and the DVWP
Guest Author: PatCharles IovanellaAs a continuation of my Best of EUSP article I was asked to expand on the Polling Data View Web Part. As I stated in my article, �SharePoint surveys leave a lot to be desired, especially from the end user perspective. What if you want to ask only one question and do not want users to leave the current page? A SharePoint survey is not the answer. But you can use the SharePoint survey and create a custom polling web part via SharePoint Designer and the Data View Web Part. You can turn a one question SharePoint survey into a cool looking Polling Web Part.�
So let�s get to it! I�m making a few assumptions that you know how to use SharePoint Designer and are able to complete all the steps without any further elaboration.
- Create your one question SharePoint survey
- Create a new Demo page using the Web Part Page template. This page will be our sandbox for building the polling web part.
- Open SharePoint Designer and then open your new Demo page
- Click into any Web Part Zone
- Insert Data View Web Part- Data View - Insert Data View
- Select the correct Survey Data Source
- Select the one question field
- Insert Selected Fields - New Item Form
- Highlight both columns together, right click, Modify - Merge Cells
- Delete the Cancel button and double click on the Save button
- Change the Value/Label to �Vote�
- Save Demo page and view in browser
- From the Demo page, export the Polling Web Part to your desktop
- Import the Polling Web Part and add to your page.
- Done!


http://www.pathtosharepoint.com/sharepoint-user-toolkit/Pages/Cross-Site-List-Snapshot.aspx
4/22/2010 12:00 PM by

No comments:
Post a Comment