Poll web part with live result bars on SharePoint

A one-question poll web part for SharePoint

You want a quick poll on the intranet. One question, a few options, and a live bar showing how people voted. Here is a web part for it.

Poll web part showing a one-question poll with options on SharePoint
One question, a few options, live results.

It saves each vote to a SharePoint list. Every vote is one list item whose Title is the option the person picked, so the list only needs a Title column. The Provision-IntranetLists.ps1 script creates the PollVotes list.

Poll property pane showing the question, options and votes list
Type the question and options, point it at the votes list.

In the property pane you type the Question and the Options as a comma separated list, point it at the votes list, and pick the bar colours. It shows the live results as people vote.

The Poll web part is part of my open source SPFx Intranet Suite, a set of web parts for a modern SharePoint intranet. Install the package once and it shows up in the toolbox under Intranet Suite.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.