cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
isoaclue
Level: Power Up

Create Sharepoint List Item from Calendar Event

I've seen the reverse quite a bit, but I haven't been able to figure out how to go the other direction.  I have a sharepoint calendar and I would like for anything on it to be added to a sharepoint list when it's within a specified time frame of the appointment time.

 

Say as an example I have a calendar event to change out the air filter in my car scheduled for April 1st, I would like to have it automatically added to a sharepoint list one week before it's due.   Is this possible?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

addDays(utcNow(),7,'yyyy-MM-dd')

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

addDays(utcNow(),7,'yyyy-MM-dd')

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

Community Support Team
Community Support Team

Re: Create Sharepoint List Item from Calendar Event

HI @isoaclue ,

 

Do you want to get SharePoint calendar events within specific period then add them on a SharePoint list?

 

If you would like to add events to a SharePoint list one week before its due, please check the following flow for a reference.

 

Add the Button trigger.

 

Get items from the calendar list. Here, you are asked to enter the correct calendar name in the List Name field manually.

 

Then add a condition with the following code to filter out events that one week before its due date:

 

formatDateTime(items('Apply_to_each')?['EndDate'],'yyyy-MM-dd')

is equal to

addDays(utcNow(),7,'yyyy-MM-dd')

 

 

Under if yes branch, add action create item to add the filtered events into a SharePoint list.

 

An image for your reference:

1.PNG

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 92 members 3,280 guests
Please welcome our newest community members: