<< SharePoint 2019/SE 'Modern' Web PartsTable of contents 
Birthday & Anniversary Web Part (List based)

The "Birthday & Anniversary Reminder" Web Part selects the forthcoming birthdays, anniversaries or "newly hired employees" of users from the specified Sharepoint List and displays the selected fields in a freely configurable template. The selection is based upon the List'se "Birthday" and "HireDate" fields.
Sharepoint 2019 Modern Birthday and Anniversaries Web Part

Web Part Configuration:


Title:
enter the optional web part title

Web Part:
AEBirthdayWSS

Configuration:
enter the below configuration options:

site=Site URL (if the picture library is located in another site)
list=Name of the picture library
view=Name of the list view (optional)
future=30 (defines the number of days to look ahead) 
past=5 (defines the number of days to look back) 
type=Birthday (sets the type as eg. "Birthdays", "Anniversaries" etc., see "Anniversary Type" setting on the "Birthday" web part homepage)
years=5 (sets the number of anniversary years) 
template=Attachments;FirstName;LastName;Birthday 
                    (selects the list columns to be displayed)
header=define the optional header text
headerheight=50 (define the optional header height in px)
logo=Header image (enter the URL of the header image)
bgcolor=dodgerblue (set the optional web part background color)
css=CSS styles (enter the optional web part CSS styles)
mailsenabled=1 (enable sending e-mails to users having their birthday)
mailcolumn=enter the list column name containing the mail address
mailtemplate=enter the mail body text template
subject=enter the mail subject line
sentby=enter the mail address of the sender 

Web Part Configuration
Webpart Homepage & Download »


Please enter a comment below if you want to give feedback or have suggestions for improvements:

User Comments Post a Comment 

Jürgen Kessler  
9/15/2020 10:25 
Hi Juerg,
wouldn't it be great to look some days back either?
Regards
Juergen
Juerg  
9/15/2020 10:40 
Jürgen,
you can use the "past"parameter to specify the number of days to look back.
  
6/23/2021 14:50 
Hi Juerg,

1. Is there support for the Hebrew language?
2. Is there is an option to send a birthday greeting -and edit a greeting in more than one template.

Thanks,
Uriel
Juerg  
6/23/2021 15:59 
Hi,
yes, the web part supports Hebrew (right-to-left).
You also can automatically send out e-mail greetings to your recipients (see the above configuration parameters relating to these e-mails).
Aaron  
5/23/2023 21:12 
I deployed this to my SP 2019 Site, but I got the "An unexpected error has occured". is there any special settings that I need to configure for the SharePoint List?
Juerg  
5/24/2023 12:16 
Aaron,
can you share your web part settings ?
Lisa Bryant  
4/2/2024 00:04 
Hi, Is there a way to configure the Every N Years Anniversaries for the SP2019 Modern version? Also, I'm having troubel with the css working. Ideally, we would like to be able to color code by milestone or apply a logo using this functionaliy (ie 5 years = red with an image of the number 5, 10 years in blue with an image of the number 10, etc. Thank you!
Lisa Bryant  
4/2/2024 00:08 
Also, is it possible to change the column headers (ie Seniority date shows as DOH) and format (3/11/2024 12:00:00 AM as March 11 or 3/11/2024 without timestamp)? This column is marked as a date only column. Thanks again!
Juerg  
4/3/2024 14:45 
Lisa,
to select the „Every N Years Anniversaries“ option, please enter

type=Every_N_Years_Anniversaries

into the web part’s „Configuration“ setting.

The web part by default expects the “Hire Date” column to be named "HireDate”.
If you want to use a different column to contain the hire date, then please add the below line to the web part’s “Configuration” setting:

options=hiredatecolumn=DOH

assuming that your column is named “DOH” in the above example.
The web part then will select the correct employees and also correctly format the date.