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

Notifications

Announcements

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,413 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard