cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ann_kpi
New Member

Create Item for SharePoint Event Calendar - All Day Event

I'm building a flow that will create a SharePoint Event Calendar item.  The users have entered the start and end dates in a form.  How do I make this an all day event?

 

Flow1.jpg

2 ACCEPTED SOLUTIONS

Accepted Solutions

@ann_kpi  unfornutally you can't do that.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Hi @ann_kpi ,

 

I have made a test on my side and couldn't find a way to add the All Day Event to the sharepoint Calendar list so we could see the column in flow, as @ChristianAbata  said, I'm afraid that there is no any way to achieve the requirement.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
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

12 REPLIES 12
ChristianAbata
Community Champion
Community Champion

hi @ann_kpi  see this example

allday.PNG

 

addSeconds(triggerBody()?['EndDate'],2)

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-alzhan-msft
Community Support
Community Support

Hi @ann_kpi ,

 

You could add a Compose to save the date firstly, and then you could format the date time as my screenshot below:

1.png

 

Expression for the start time as below:

formatDateTime(outputs('Compose'),'yyyy-MM-ddT00:00:00Z')

 

Expression for the end time as below:

formatDateTime(outputs('Compose_2'),'yyyy-MM-ddT23:59:00Z')

 

Best regards,

Alice   

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

 

Thank you both for the reply.  Unfortunately it still puts in the time for the calendar event.  Basically I need it to check the box in the event that says 'All Day Event'

 

all day event.jpg

@ann_kpi  unfornutally you can't do that.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Thanks 🙂

@ann_kpi  you are welcome. Please consider to mark an answer as solution to guide others.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi @ann_kpi ,

 

I have made a test on my side and couldn't find a way to add the All Day Event to the sharepoint Calendar list so we could see the column in flow, as @ChristianAbata  said, I'm afraid that there is no any way to achieve the requirement.

 

Best Regards,

Alice

 

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

LAHansen
Frequent Visitor

I've been searching for answers on this one and all the way back in 2015 this was a problem.  I just created a tax calendar for the business.  1500 rows inserted.  Flipping these one by one to All Day just to get the time off the calendar display is really not a good solution.  

leoriosan
New Member

So the easiest way to do this is to actually have a normal list in calendar view instead of a calendar app/event list.  I tried six ways to sunday to get it to work with the calendar app to no avail.  A normal list with a calendar view set to default solved my problem.

 

My scenario is a vacation calendar for my employees.  I have a form with start/end dates, employee name, and employee email address.  After an approval, I add a row to a spreadsheet for my own tracking and then create an item in the list with the data from the spreadsheet.  End result is a single entry in the calendar view with no times.

 

1.JPG2.JPG

 

3.JPG

The problem with this is that when you create a SharePoint list and then create a calendar view, it cannot be connected to Outlook. Only calendars created using the SP calendar app can be connected, and there is no way within Power Automate to tick the check boxes 🙄

That is correct.  Modern SP calendaring is entirely underwhelming and does not meet basic functionality needs, and how the check boxes are not an editable or taggable field by Power Automate is perplexing.  Normally there's at least some way to workaround issues like this, but I've exhausted google and everything I can come up with to make this work and settled on the calendar view.

@leoriosan i'm not sure if you found a solution but it can be done using a 'Send an HTTP request to SharePoint' and "fAllDayEvent" : "True"

vinnie05_0-1652772420853.png

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,164)