Hi,
I am trying to populate a SharePoint calendar using Power Apps and a SharePoint list.
The idea is that a user fills out a form on Power Apps with an event request. The request gets stored in a SharePoint list. Once the request is approved, I want the calendar to be populated with this event.
What connectors are necessary to make this happen? From an architect standpoint, is there a way to populate a SharePoint calendar using lists and Power Apps?
Thanks in advance for the help!
Solved! Go to Solution.
Hi @jviernes ,
Could you please share a bit more about your issue?
Do you mean that the event created through the "Create Calendar Event" action in your flow could not be displayed in your actual Calendar List?
Based on the flow that you mentioned, I think there is something wrong with it. I also have made a test on my side, and don't have the issue that you mentioned.
The flow's configuration as below:
The flow run successfully as below:
Then go to the Calendar List, refresh the web page, the created event shows well as below:
On your side, please make sure your flow has been executed successfully. Then go to your Calendar List, refresh the web page, check if the event shows up.
In addition, please also check if you have specified proper Calendar List within the List Name field of your "Create Calendar Event" action in your flow.
If you want to see the created event within your app in real time, you could consider add a Timer control in your app, then set the Duration property to following:
1000 // fresh data source every second
set the AutoStart and Repeat property to following:
true
set the OnTimerEnd property to following:
Refresh('Your Calendar List')
Best regards,
PowerApps does not work with SharePoint Calendar lists directly yet.
You can submit your form to a custom SharePoint list.
Trigger a Flow (power automate) when an item is created in this custom list to get the approval.
Within the flow, after the item is approved, create an item in the SharePoint calendar list with the event dates.
Thanks for the advice.
When I create the event as an item in the SharePoint calendar list through Flow, it doesn't populate on the actual calendar, but I can see the event when I go to the calendar list view.
I attached the flow I am using right now to get the event to the SharePoint calendar.
Do you know how i would get the event to show in the calendar?
Thanks!
Hi @jviernes ,
Could you please share a bit more about your issue?
Do you mean that the event created through the "Create Calendar Event" action in your flow could not be displayed in your actual Calendar List?
Based on the flow that you mentioned, I think there is something wrong with it. I also have made a test on my side, and don't have the issue that you mentioned.
The flow's configuration as below:
The flow run successfully as below:
Then go to the Calendar List, refresh the web page, the created event shows well as below:
On your side, please make sure your flow has been executed successfully. Then go to your Calendar List, refresh the web page, check if the event shows up.
In addition, please also check if you have specified proper Calendar List within the List Name field of your "Create Calendar Event" action in your flow.
If you want to see the created event within your app in real time, you could consider add a Timer control in your app, then set the Duration property to following:
1000 // fresh data source every second
set the AutoStart and Repeat property to following:
true
set the OnTimerEnd property to following:
Refresh('Your Calendar List')
Best regards,
Thanks @v-xida-msft! I just had to change the list settings to get the events to show up on the calendar.
One last question, is there a way in Power Apps to remove a time slot if that time is taken on a SharePoint calendar? Is there some type of read function from SharePoint to Power Apps that would prevent users from submitting times that are already taken on the calendar?
Thanks!
User | Count |
---|---|
251 | |
102 | |
94 | |
48 | |
37 |