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.
Thank you for your help so far João José Mendes ,
I have done all that you noted in the replies and videos. Using the information below,
I only changed the TenantURL in the local.settings.json file as shown in the image below
Also, in the Birthdays table, the userAADGUID column is empty
Could these be what's wrong? Do I need the userAADGUID for it the work? Do I have to assign values to all the variables in the local.settings.json file?
- AgebaJan 21, 2024Copper Contributor
João José Mendes please send me the last sppkg
- mtpisarisAug 21, 2023Copper Contributor
João José Mendes Can you please share the updated link to download the nupkg file?
- ADumithMar 18, 2022Iron Contributor
Hello Sir,
I got this message when I try the link.
I would like to add this webpart to my intranet.
Thanks in advance.
- gretchunkimFeb 15, 2022Brass Contributor
JohnatanGonzalezVelez Use Azure Function instead of a flow. BTW, wasn't delve supposed to retire soon?
- JohnatanGonzalezVelezAug 26, 2021Copper Contributor
Greetings João José Mendes
In advance congratulate you for this contribution to the Sharepoint community and ask if there is a way to keep the sharepoint list updated through a flow (power automate) because the birthday field is the delve and I do not know how to bring it to the list so that the birthday is automatic 100%.
thank you for your contributions
I attach screenshots
- MichiA1804Mar 09, 2021Copper Contributor
Hello,
do you have the latest app file for me to download? I am new and dont know how to build the file myself. Can you help me with both? Thanks!
Best regards,
Michael
- Sudesh_KumaraDec 06, 2020Copper Contributor
I've followed the all steps and the web part working fine. But the issue is it shows only the manually entered data. So, how can I configure to execute the Azure function and sync data from AD?
I've registered a new app in Azure portal, granted relevant permission with admin consent, and add the App Id And secret to the local.settings.json. but the AD data not synced to the list. How can I fix this issue?
Everything working fine. I just need to sync AD data to the list. Could you please help me?
- zahrawiJul 10, 2020Copper ContributorI deployed the function in Azure, but it is not pushing employee details into Birthday list. I created the list already. What would be the reason?
- gaaz2020Jun 16, 2020Copper Contributor
ThanksJoão José Mendes
I am concerned that I get this when I press F12 in the browser
Warning Using this tool exposes you to potential security threats that may cause other users to access your personal Office 365 data (documents, emails, conversations, and more). Make sure you trust the person or organization that has asked you to access this tool before continuing. Learn more here: https://technet.microsoft.com/en-us/library/bb794823.aspx - João José MendesJun 16, 2020Brass ContributorPlease create an Index on list by column Birthday.
- gaaz2020Jun 16, 2020Copper Contributor
- João José MendesFeb 01, 2020Brass ContributorHi,
In the "src" there are a folder called "SyncUsersBirthdaysFunction" that is Azure Function, Timer Trigger that be deploy to Azure.
The best way is using VSCode with Azure Tools Extension Installed.
Open the folder "SyncUsersBirthdaysFunction" with VSCode, Change the local.setting file and Update with ClientId and Client Secret, of the App Created in Azure and then go to Azure Tool on VSCode and select deploy and follow the instructions.
After installed, the function runs every 5 mins, you can adjust the trigger changed the file function.json.
Thank you! - briangarnicaFeb 01, 2020Copper Contributor
Hi João José Mendes.
I've already deployed the webpart after list creation with fields. I applied some customizations (like language-related strings, because it should be shown in Spanish) and everything seems to work fine. However, I need to get users sync from AAD and I know you mention some Azure Function, but I'm really newbie in these topic; so, could you explain a bit more detailed how to get this function to work? Should I run/call/invoke from somewhere?
memunati, Did you get this webpart to work using AD Sync?
Thanks in advance.
- SchneikaJul 11, 2019Iron ContributorWebPart does not render:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
***Failed to load component "e629ef30-a9ec-4713-b39a-2cfa8b323902" (BirthdaysWebPart). Original error: ***Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version "16.8.6".
***INNERERROR:
***Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version "16.8.6".
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-06-28.011/sp-pages-assembly_en-us_a0d4d2b534576bc5e1bd120c4f0eacaa.js:45:29877)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-06-28.011/sp-pages-assembly_en-us_a0d4d2b534576bc5e1bd120c4f0eacaa.js:169:74253)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-06-28.011/sp-pages-assembly_en-us_a0d4d2b534576bc5e1bd120c4f0eacaa.js:169:86503)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-06-28.011/sp-pages-assembly_en-us_a0d4d2b534576bc5e1bd120c4f0eacaa.js:169:82534)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-06-28.011/sp-pages-assembly_en-us_a0d4d2b534576bc5e1bd120c4f0eacaa.js:169:103929 - SchneikaJul 11, 2019Iron ContributorPlease can we get a actual sppkg file. Would this be Tenant-Neutral?
- kmlydkMay 21, 2019Copper Contributor
Hello,
Can someone share the latest sppkg file?
I am using sharepoint 2019 on premise and i have no idea how to build a sppkg.
Thx.
- hamilton_Man-210May 08, 2019Copper Contributor
João José Mendes, I have followed through your instructions thoroughly, I have even index the birthday column, but I cannot approve the API management pending dependencies. See snapshot below what it says even though I am a Global admin. Kindly assist with an updated birthday sppkg version and how to solve this error. Thanks in advance.
API error
- Putoro-007Apr 29, 2019Copper Contributor
João José Mendes, thanks, after the Global Admin role has being granted and API management approval request has being granted. All is now ok.
Just one more thing, where do I remove the image background in the birthdays items showing up in my page webpart?
- memunatiApr 29, 2019Copper Contributor
yes, I have approved the web api rights,
Here are the full console messages
Thank you!
- João José MendesApr 29, 2019Brass Contributor
did you approved the web api rights in new central admin ?
can you print all messages from the beginning of console ?
- memunatiApr 29, 2019Copper Contributor
Thank you João José Mendes
I have deployed the updated file to the app catalog, however, the web part still does not fetch the data for over here.
The image below is a screen grab of the error in the page's console.
- João José MendesApr 29, 2019Brass Contributor
probably you only have sharePoint admin role ....
Please go to Office 365 Admin .> users - select the user and check the roles added to the user ...
- Putoro-007Apr 29, 2019Copper Contributor
João José Mendes, Thanks to your reply, am new to this admin center thing, How do I know I have access? I think I can register apps in azure App Registration panel, I can access admin center, this links https://portal.azure.com/, https://xxx-admin.sharepoint.com etc
- João José MendesApr 29, 2019Brass Contributor
you must have tenant global administrator role to approve web API permissions. please check if you have the right permissions.
- Putoro-007Apr 29, 2019Copper Contributor
João José Mendes, thanks to your reply, I first of all downloaded and added the spkg app to my app catalog, checked the deployed option and now went to the API management to approve. Below is what I am seeing, any advice at this stage.