cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Xv
Resolver I
Resolver I

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
Resolver I
Resolver I

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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (6,272)