Hi all,
I have a desk map and currently I'm able to book multiple desks with different slot time (startTime to endTime)
I want to set up to allow book a desk only. Could you please help?
DeskBooking SharePoint list: Title (text), StartDateTime (mm/dd/yyyy hh:mm:ss), EndDateTime (mm/dd/yyyy hh:mm:ss)
My Book Button
DisplayMode
If(
!IsBlank(
LookUp(
DeskBooking,
(startTime >= StartDateTime && endTime <= EndDateTime ||
startTime <= StartDateTime && endTime >= EndDateTime ||
endTime > StartDateTime && endTime < EndDateTime||
startTime > StartDateTime && startTime < EndDateTime) &&
Title = MainGallery.Selected.Title
)
),
DisplayMode.Disabled,
DisplayMode.Edit
)
Hi @kinghnvn :
Do you want to restrict users to only book one desk at a time?
Could you please show me how did the user book the desk? What is the code?Can you please introduce your APP in detail?
Best Regards,
Bof
No. User can book at any time of the day if it doesn't conflict, but can only book a desk
Hi @kinghnvn
Are you expecting to allow the user to book for a single time slot for a given day?
Thanks,
Stalin - Learn To Illuminate
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional