Advertisement
How to populate drop down values from SharePoint lookup lists.
In this article we are going to see, how to show drop down values to book interview slot
based on available date and time in power apps.
In our requirements dates and time are static , we are maintain those values in SharePoint lists.
Created 3 lists.
Book Date :
Book Time:
Connected 3 lists and added Edit form and connected Book Slot , Changed the Default form mode to New
Unlock the properties , To filter the Book Date drop down only based on Is Available = Yes as per the below.
ShowColumns(RenameColumns(Filter(BookDate,IsAvailable.Value="Yes"),"Title","Value","ID","id"),"id","Value")
To Filter the Book Time values drop , based on condition Is Available = Yes and Date selected from previous drop down value
ShowColumns(RenameColumns(Filter(BookTime,Date.Value = DataCardValue7.Selected.Value And IsAvailable.Value = "Yes"),"Title","Value","ID","Id"),"Id","Value")
Output will come as per the below screen shot.
0 comments:
Post a Comment