Forum Discussion
Employee Birthday Calendar Web Part
- Apr 17, 2019
Hello dotunman210.
Please create on list of birthdays an Index by column "Birthday" is need to sort and filter birthdays.
I found that the webApiPermissions required to use Graph API was missing on webPart. and is that the problem.
I changed and create a new package. sppkg. Please Install the new sppkg,
https://sitenanuvem-my.sharepoint.com/:u:/g/personal/joao_j_mendes_sitenanuvem_pt/Ebl4y_iQ619Ppfq55rCS-m4BdEHGAaZ3VQEejwbbZ4Hxzw?e=u4Ztsh
and deploy you will see the consent panel and a message to inform to go to manage api management to aprove the API permissions.
go to:
SharePoint Admin Center - https://xxxx-admin.sharePoint.com and change to new . SharePoint admin center and go to :
API management and aprove the permissions that are in pending status.
Soon I will update a detailed documentation and new code and package on REPO.
Thank you.
Harry_G so the photos are retrieved from SP user profile using
/_layouts/15/userphoto.aspx?size=L&username=mailto:user@email.com
The app wasn't connecting to my list very well, and using F12 I saw that the user email was "undefined".
I rebuilt the Birthday list and it worked. Try doing that and make sure to use the exact columns.
- DavaakhatanApr 16, 2020Copper Contributor
- briangarnicaApr 16, 2020Copper Contributor
Hi Davaakhatan,
You have to create Birthday list manually, with fields specified by author. Internally, this WebPart requires list is located on root SharePoint sites, even if you are deploying it to something like '.../sites/AnotherSiteCollection'.
Just create the list in the way you normally do, test again and let me know if you have any doubts.
Regards.
- Harry_GSep 03, 2019Copper Contributor
JSlei , Thanks for your Help , Now webpart working fine.
another Question is that, how we get all user's birthadys from AAD and update sharepoint list as it said timer function is already add in webpart to retrieve AAD user's birthday, but how its works?
Any Idea ?
Thanks,
Harry_G