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 / Patch Issue - Error "T...
Power Apps
Answered

Patch Issue - Error "The type of this argument (column name) does not match the expected type 'Text'. Found Type 'Error'

(0) ShareShare
ReportReport
Posted on by 32

Hello Everyone, I'm a newbie when it comes to PowerApps and on process of learning it. Right now, I am currently building an app using PowerApps and using Sharepoint as my datasource.

 

Issue:

I have a combo box on one of my screen and if the value entered is not listed on my column, then the entered text should be accepted as a normal text.

 

Hawold_0-1642580552490.png

Items Property = (Column Name)

 

Now, I added a Label to reflect the data entered from the combo box:

Hawold_1-1642580573814.png

Text Property - ComboBox2.SearchText

 

Then, I added a button that should submit the data from the label (which is dynamic)

 

OnSelect Property - Patch('SP Name',Defaults('SP Name'), {'Column Name': {Value: "Label4.SelectedText.Value"}})

 

Hawold_2-1642581145871.png

 

Please advise.

 

Thank you!

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,283 Most Valuable Professional on at

    Hi @Ha-wold ,

    Firstly, you should be using ComboBox.Selected.Value (not SearchText), but if you are Patching back to a Text field

    Patch(
     'SP Name',
     Defaults('SP Name'), 
     {'Column Name': ComboBoxName.Selected.Value}
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard