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

How to filter a bookable resource based on date and availability

Hi !

As many we are building a desk reservation system. At a basic level we have a Desk entity that contains all desks, and a Booking table that is used to reserve a Desk, so it includes fields such as Start and End date as well as a Lookup to Desk.

 

How can I create a view that will display only Desks that are not already part of a Booking for a selected Date?

The New Booking form will need to send the selected Date to a View to complete the filtering.

 

This is within a model-driven-app. 

 

3 REPLIES 3
rampprakash
Super User
Super User

Hello @Xv,

 

As per Model Driven App View, you cannot pass Custom Parameter to the view to filter. You can set some Default value in the VIEW FILTERING CRITERIA.

 

If you want to have the Filtering then you need to write Plugin in RETRIVE MULTIPLE Step to achieve the same.

 

Let me know if you need more help am eager to help you the same.

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

Xv
Helper II
Helper II

There must be a more elegant solution that having to create a plugin.

There must be a more elegant solution that having to create a plugin.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (1,358)