With the poll service you have different options for publishing a poll. You can just publish a poll without any time constraint. You can also specify a date range when publishing a poll.
In this recipe, we will show you how you can publish a poll with a date constraint.
For this recipe, you will need a Webcenter Portal application with a connection to the WebCenter schema as described in the first recipe of this chapter.
You will also need a poll. If you don't already have polls in your portal, you can refer to the Creating a poll recipe.