cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
david9068
Helper II
Helper II

Add an event to outlook via sharepoint calendar

Hi,

 

Ive created an app for training registration. At the moment its all working apart from when i add an event to my outlook calendar the event shows as starting on the day i have added it and ending on the start time of the event on the sharepoint calendar.

 

I want it so that it just adds the event to the outlook calendar for the starting date shown on the event.

 

Please see images for more details.

 

Regards,

David

calendar_issue.pngTraining_error_outlook_calendar.png

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @david9068,

 

I'm not sure what you are trying to achieve. I saw that you mentioned that you also need the ending on the start time of the event on the sharepoint calendar. Not sure what did you mean by this part. I saw in your screenshot that it mostly looks like your are using a Form control. If this form's data source is outlook calendar, then I'm afraid that you cannot then also add a SharePoint calendar data source to the end time. As one form can only have one data source so far. If you want to update Outlook calendar together with SharePoint calendar, you might want to use Patch function.

 

Regards,

Mona

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

@v-monli-msftSorry for my bad explaination.

 

What you explained in the last part of your message was correct. Im trying to put an event in outlook via sharepoint calendar data.

 

This is the formula im currently using. How would i encorpurate the patch function into it or would i need a new formula ?

Office365.V2CalendarPostItem(ddCalendar.Selected.Value, 
BrowseGallery1.Selected.Title, 
Text(BrowseGallery1.Selected.EventDate,DateTimeFormat.ShortTime), 
Text(BrowseGallery1.Selected.EndDate,DateTimeFormat.UTC), 
{Body: BrowseGallery1.Selected.Description, 
IsHtml: true, 
Location:BrowseGallery1.Selected.Location});
UpdateContext({CalButton:false});UpdateContext({CalButtonDone:true})

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (43,433)