cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amichel17
Level: Powered On

Check if filtered SharePoint list is empty make button visible

Is it possible to search using the textsearchbox and if the record doesn’t exist on the sharepoint list to make a particular button visible

2 REPLIES 2
Super User
Super User

Re: Check if filtered SharePoint list is empty make button visible

Hi amichel17,
You would put !IsEmpty(Filter(datasource,etc)) in the Visible property of the button. Where etc is the filtering condition and datasource is your list. If this answers your question please mark it solved.
amichel17
Level: Powered On

Re: Check if filtered SharePoint list is empty make button visible

I was able to do this buy setting an onselect field on a button to 

Set(
existingAttendee,
LookUp(
'Device Inventory', Title = TextSearchBox1.Text));
If(
IsBlank(existingAttendee),UpdateContext ({ShowPopUp:true}), UpdateContext ({ShowPopUp:false}) )

 

 

and setting the visible field on the Popup screen to ShowPopUp

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Users online (4,682)