web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create an appointment ...
Power Apps
Unanswered

Create an appointment based app

(0) ShareShare
ReportReport
Posted on by

Good Afternoon Everyone,

 

I am new to the Power Apps arena, having watched Shane young videos to help my progress. I have seen many posts on this forum that have helped a great deal.
I now have a puzzle which I cannot figure out. (shane does have a video which is pretty much what i want but i think it misses some key steps or understanding that i have yet to develop.)

And iIcannot get it right with CoPilot!

 

So what I am trying to achieve:

I need to create a set of appointments on a certain day.

I need 9 appointments on this day, 20 minutes apart starting at 0900hrs.

These 9 appointments will then be published to the sharepoint list.

 

A customer then sees that this day of appointments is now available and wants to book the timeslot. An email will then get sent confirming the booking.

 

Now where I am struggling is:

I can create the 9 timeslots to be displayed in the gallery by doing this:

ClearCollect(
    colBusinessHours,
    ForAll(
    Sequence(9),
    Time(9, 20 * (Value - 1),0)
))
 
That gallery is then linked to the collection. I have added an extra field to capture the date from a date picker:
ThisItem.Value &  "     " & DatePicker1.SelectedDate

 

In a button, what I thought i could do was create a new collection of the 9 items and the date from the gallery, and submit them, to the sharepoint list. 
AA_create_time_slots is the list naame, with columns: Row Number = number, title = single line of text, timeslotanddate=date and time, reserved = yes/no, reserved by single line of text.

 

I have been successful in patching single lines, but cannot figure out how to patch all 9 records in one go, with a single button press.

 

I appreciate your time reading this!

 

Regards

 

Brian

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard