Skip to content

Simple Poll

Olivier Carpentier edited this page Nov 5, 2016 · 6 revisions

Simple Poll Web Part

The Simple Poll Web Part is a SharePoint client side web part built with the SharePoint Framework (SPFx) in the preview version. This web part generates a simple poll (one question) based on a SharePoint survey list. This Web Part is perfect for simple surveys to insert on a homepage for example. Users can vote in 1 click and see the results in the form of a pie or bar chart.

To use this web part, you need to:

  • Create a survey list in SharePoint site
  • Create only 1 question in this survey. The question type must be 'Choices'
  • Add this web part in a page and select the mapped survey list

Simple Poll

Features

You can manage the following settings:

  • surveyList: Choose an existing survey list in the current web site
  • chartType: specifies the view results chart type (bie or bar)
  • forceVoteToViewResults: defines if the user can view the results without vote
  • font: defines the question font
  • size: defines the question font size
  • color: defines the question font color
Clone this wiki locally