cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jviernes
Advocate I
Advocate I

Populating a SharePoint Calendar using Power Apps and a SharePoint list

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!

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

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:

4.JPG

The flow run successfully as below:

5.JPG

Then go to the Calendar List, refresh the web page, the created event shows well as below:

6.JPG

 

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
NaveedMohammad
Regular Visitor

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.

@NaveedMohammad 

 

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!

Eelman
Super User
Super User

v-xida-msft
Community Support
Community Support

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:

4.JPG

The flow run successfully as below:

5.JPG

Then go to the Calendar List, refresh the web page, the created event shows well as below:

6.JPG

 

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,961)