cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
F4b
Level: Powered On

Error with UpdateIf function

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 !


2 REPLIES 2
Community Support Team
Community Support Team

Re: Error with UpdateIf function

Hi @F4b ,

 

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

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
F4b
Level: Powered On

Re: Error with UpdateIf function

Hi @v-monli-msft ,

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

Regards.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,030)