Hello,
Need some direction on my task in power apps.
I have a form with few text input fields and a button . User inputs a value in a text input 1 field and presses the button which populates next of the text fields . The button is pulling the information from sharepoint library. This aspect is working fine.
What i want is to trigger a message or pop up saying 'no data found' when search button returns no data for the requested text input . How can i handle this ?
The code OnSelect button is as follows - ContractID is the text input 1 field entered to search for product type and customer name.
UpdateContext({AppIDVar:First(Filter(collect1,ContractID=TextInput1_ContractID.Text)).ApplicationID});
UpdateContext({ProductTypeVar:First(Filter(collect1, ContractID=TextInput1_ContractID.Text)).ProductType});
UpdateContext({CustomerNameVar:First(Filter(collect1, ContractID=TextInput1_ContractID.Text)).CustomerName});
Thanks