- Create a Publish Date feature for announcements
- Create alerts based on announcement categories
- Modify the default “Current View” of the announcements Web Parts
- Create a “More” link to view the details of each announcement
Create a Publish Date functionality for Announcements
Here’s how to create a publish date for each of your announcements, where the announcement will automatically be “published” when the date arrives.
- Turn on content approval on your announcements list like this:
In the list’s settings, go to Versioning settings.
Change “Require content approval for submitted items?” to Yes
- Create a new Date and Time column in your announcements list called “Publish Date”, and make it a required column. You can even make it default to today’s date if you’d like.
- In SharePoint Designer, create a workflow like this: Open SharePoint
Designer, and click <File> and <Open Site>. Paste in the URL of the
site where you’d like to create the workflow, and open it. Click <File>,
then <New…>, then <Workflow…>
- Name this workflow “Create Announcement”
- Pick your Announcements list from the drop-down list. Only check the box “Automatically start this workflow when a new item is created”.
- Add the first condition to “Compare Announcements field”. If the field
Publish Date is less than or equal to (then, click on value, and choose
the little parameter builder button)
- In the Actions section, choose Set Content Approval Status. Set content approval status to “Approved”, and add comments such as “item automatically approved on publish date”
- But, if the announcement is supposed to be published on a future date, we
need the workflow to wait. Click to Add ‘Else If’ Conditional Branch. In the
new branch’s Action section, choose Pause Until Date. Click on this
time, and click the function button to display the data binding menu
With the Source as Current Item, choose Publish Date as the field. Click OK.
- The second action will be the same as the action on the previous
Set content approval status to “Approved”, and add comments such as “item automatically approved on publish date”
Here’s what your workflow screen will look like:
We used “is less than or equal to Today” as the condition (instead of is equal to today) because it’s possible that a user could enter in a past date as the publish date. A condition is not needed in the second branch because it knows that if the condition in the first branch is not met, then otherwise do this.