Skip to content

Commit

Permalink
Merge pull request #3438 from HiltonGiesenow/patch-3
Browse files Browse the repository at this point in the history
Update Setup-Results-web-part-to-show-birthdays.md
  • Loading branch information
wobba authored Jan 11, 2024
2 parents aea42ee + f547620 commit 37e91f7
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/scenarios/Setup-Results-web-part-to-show-birthdays.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@

A common requirement for intranets is to show birthdays of employees.
And as the SharePoint User Profile Application has a property for birthdays, it is a natural choice to use search to show birthdays of employees.
A common requirement for intranets is to show birthdays of employees and as the SharePoint User Profile Application has a property for birthdays, it is a natural choice to use search to show birthdays of employees. In addition, at the time of writing (2023), the Graph API does not have a property for birthdays, so we can't use the Graph API to get the information.

(as of writing this (2023), the Graph API does not have a property for birthdays, so we can't use the Graph API to get the information)

The tricky part is that in the User profile application the birthday value is store is a rather unusual datatype: "date no year"


The tricky part is that in the User profile application the birthday value is store is a rather usual datatype "date no year"

![Birthday in the User Provisioning Service](../assets/../scenarios/assets/Setup-Results-web-part-to-show-birthdays/BirthdayUPA.png)
![Birthday in the User Provisioning Service](../scenarios/assets/Setup-Results-web-part-to-show-birthdays/BirthdayUPA.png)


In my tenant the SPS-Birthday property was mapped to RefinableDate00 and the actual value in the property is 2000-[the date]:

![Managed Property value](../assets/Setup-Results-web-part-to-show-birthdays/refinabledate00.png)
![Managed Property value](../scenarios/assets/Setup-Results-web-part-to-show-birthdays/RefinableDate00.png)

(use the magnificent [SP Editor tool](https://chrome.google.com/webstore/detail/sp-editor/ecblfcmjnbbgaojblcpmjoamegpbodhd) or [SP Search Query Tool](https://github.com/pnp/PnP-Tools/blob/master/Solutions/SharePoint.Search.QueryTool/README.md) to inspect the managed properties)

Expand Down

0 comments on commit 37e91f7

Please sign in to comment.