web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Highlight if informati...
Power Apps
Answered

Highlight if information is in SharePoint list already

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi folks, I have a query similar to vinimedina91's on How to check if item already exists in SharePoint', the difference being I just want something to appear if the text typed into an input box is already on the SP list. I've tried something simple on an icon's visibility:

If(phonenumber.Text in NO.Phoneno,true,false) 

The app has taken it but I've typed in a number that's already saved and it's not shown.

Categories:
  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    In PhoneNumber control's onChange property,

    Set(varShowIcon, If(self.Text in NO.Phoneno,true,false) )

     

    Use the variable varShowIcon in the visible property of the Icon.

     

    You need to set default value of the variable as false on screen load or app load.

     

    Give a try and post your comments.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    On the Visible property of your Icon, set the following formula:

       LookUp(yourDataSource, Phoneno = phoneNumber.Text, true)

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard