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 / Error with UpdateIf fu...
Power Apps
Unanswered

Error with UpdateIf function

(0) ShareShare
ReportReport
Posted on by 62
Hi everyone !

I use the "UpdateIf" function to mass update records in a gallery.
Since Friday, my function doesn't work anymore (whereas it worked before):
 
ForAll(
 Gallery_Questions_1.AllItems;
 UpdateIf(
 'Questions - Etats des lieux';
 mso_name=Subtitle2_27.Text; 
 {
 mso_commentaries: TextInput1_1.Text ;
 mso_note: Rating1_1.Value
 }
 )
);;
Navigate(Questions_Screen_2; ScreenTransition.Cover)


After investigation, the problem comes from the line "mso_commentaries: TextInput1.Text;". The error "The value must be 1 to 1048576".
"mso_commentaries" is a multiple text line field.
Would anyone have an idea of where the mistake might come from?

Thank you for your help !


Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @F4b ,

     

    What is your data source type? Check the field setting from the connector side.

     

    Regards,

    Mona

  • F4b Profile Picture
    62 on at

    Hi @v-monli-msft ,

    The application is based on CDS.
    Thank you for your answer !

    Regards.

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 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard