cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
benediktwnr
Frequent Visitor

How to create AllDay Calender Event with PowerApps?

Hello,
I have tried many older solutions, but unfortunately none of them work for me.

 

Office365Outlook.CalendarPostItem(Dropdown2.Selected.Name;Text(DatePicker2.SelectedDate;DateTimeFormat.UTC);Text(DatePicker2.SelectedDate;DateTimeFormat.UTC);"Test Event";{IsAllDay:true})

 

I hope you can help me, thank you very much!

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @benediktwnr ,

 

Please try:

Office365Outlook.V4CalendarPostItem(
        Dropdown2.Selected.Name,
        "Subject",
        DatePicker2.SelectedDate,
        DateAdd(DatePicker2.SelectedDate,24,"Hours"),
        "UTC",
        {isAllDay:true}
)

 

 

 

Best Regards,
Bof

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @benediktwnr ,

 

Please try:

Office365Outlook.V4CalendarPostItem(
        Dropdown2.Selected.Name,
        "Subject",
        DatePicker2.SelectedDate,
        DateAdd(DatePicker2.SelectedDate,24,"Hours"),
        "UTC",
        {isAllDay:true}
)

 

 

 

Best Regards,
Bof

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 (1,881)