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 / Powerapps Canvas - IsM...
Power Apps
Answered

Powerapps Canvas - IsMatch directly to Sharepoint List

(0) ShareShare
ReportReport
Posted on by 62

Hello,

 

I have a question regarding an app that I am experimenting with.

I have a list of names in my sharepoint list that I connected to my app.

I am trying to make it so that if the name in the text input does not match any name in my sharepoint list, the submission will fail.

Is it possible for me to use the "IsMatch" function and have it directly reference a Sharepoint list?

 

Looking forward to your help.

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @RickyT 

    I would suggest to do a flow that checks if the name exists in the sharepoint list , so your flow simply takes the name as an Input, use GetItems with OData Filter to check if the name exists in the Sharepoint list , then your flow returns true or false to your powerapps based on whether the item exists or not and only perform the submit action if the return is true.

     

    ISMatch function can't be used for your purpose , it is used to validate against regular expression or text

    "The IsMatch function tests whether a text string matches a pattern that can comprise ordinary characters, predefined patterns, or a regular expression. The Match and MatchAll functions return what was matched, including sub-matches"

    Hope this gives you an Idea!

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RickyT,
    On submit button, instead of using IsMatch better way to use IsEmpty or IsBlank function like "If(!IsEmpty(Filter(SharePointList,ColumnName = TextInput.Text)),submitForm(),Notify("Invalied name",NotificationType.Error))"
    Or if the column is multichoice filed then use "TextInput.Text in CoulmnName" instead of "ColumnName = TextInput.Text".

     

    If this post helps you with your problem, please mark yours as an Accepted solution. If you like my response, please give it a Thumbs Up.

  • RickyT Profile Picture
    62 on at

    @Anonymous 

    Thank you for the help, your solution was able to do what I needed.

     

    @Mira_Ghaly 

    Thanks for the suggestion too. I hope to use your method once I start learning more about flows and automation.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard