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

PowerApps - Create a session picker -> calendar add with max 3 attendees

 
Hi Everyone,
I hope someone can help me with the following struggles that I have.
So I am trying to create an automated PowerApps for our ''1 to 2 sessions''
A small app where max 3 employees per session can choose an option and press a button to add to my calendar and theirs.
So the tricky part is that I need 3 people(attendees) to add the same Teams meeting link to there and my outlook calendar separately. 
As you can see in Picture 1 I'm trying things out (BTW I am not an experienced user) by creating a gallery that pulls information out of a SharePoint list that I created see Picture 2.
In the SharePoint list, I created 9 sessions over the year and I was thinking to add a static Teams meeting(URL) in their too(under the list tab ''Teams'') see Picture 2.  So if one of my employees chooses a session to attend, he/she needs to be added to the ''seats'' tab in the SharePoint list(Picture 2). After 3 seats being filled then those sessions need to disappear on the main page session calendar, see Picture 1.
I wanted also to have a confirmation page (Picture 3) with the actual button integrated over there. 
In Picture 4 you will see the ''OnSelect'' code that I have now.
It does definitely not do what I describe here but I am getting somewhere 📷.
I hope that someone can help me out with this. 

 

 

 

 

 

    Office365Outlook.V4CalendarPostItem(
    LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Agenda").Name, 
    "Test",
    DateAdd(Now(), TimeZoneOffset(), Minutes),
    DateAdd(Now() , 60 + TimeZoneOffset(), Minutes),


      "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",
    {body:"Test text 
________________________________________________________________________________ 
" & BrowseGallery1.Selected.Teams, IsHtml:true}

    )

 

 

 

 

 

 

Again, not a professional 😀 , and in advance thank you for the reactions and effort. 

 

 

Picture 1:

Marone_0-1617108055825.png

Picture 2:

Marone_4-1617108490074.png

 

 

Picture 3:

Marone_1-1617108068690.png

Picture 4:

Marone_2-1617108154505.png

 

1 REPLY 1
Marone
Frequent Visitor

No one 😓

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,497)