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!

Anonymous
Not applicable

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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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