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 / Etag Mismatch With Pat...
Power Apps
Answered

Etag Mismatch With Patch & SubmitForm

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have came across below problem.

A form with both numeric (problem) and text fields(good)

When modify the numeric field say delete all and subimit form the change will not be reflected.

So I try to use Patch & IsBlank to update blank numeric fields to 0 and then SubmitForm.

But a second problem come with Etag Mismatch.

I can not just along use the patch function 1. due to large number of fields in the form 2. need to capture the content entered for text fields.

Is there any other method to update blank datacard value other than Patch?

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you try to enable the below setting in your application:
     
    App Settings -> Advanced Settings -> Formula Level Error Management -> Turn this on.
     
    This will let you patch blank values to the data source.
     
    MicrosoftTeams-image (21).png
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    I've made a similar test and met the same problem like your description.

    The reason why you met this problem is that : " "  is a text type, while the field is a number type.

    So I suggest you use If statement.

    If the textinput is empty, then update value with 0.

    I suggest you set every field that you want to update with empty value's Update:

    If(!IsBlank(DataCardValue7.Text),Value(DataCardValue7.Text),0)

    Please replace DataCardValue7 with its control's name.

    Then, if you clear the data in the textinput, this field will update with "0".

     

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you. What is the odds this experimental feature would be kept?  I mean a bit worry about the risk of having to seek for alternatives six months down the track.

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Anonymous 

     

    No need to worry about this. Due to consistency by default this setting is disabled. This will soon be out from the experimental feature. You can rely on it and move forward.
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard