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 / Uddateif Function not ...
Power Apps
Unanswered

Uddateif Function not working in powerapps to update sharepoint list

(0) ShareShare
ReportReport
Posted on by 186

Uddateif Function not working in powerapps to update sharepoint list

I have attached screenshot.

Categories:
I have the same question (0)
  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @dataverse 

    I'd make sure here to fully qualify all of your control values. For instance, assuming that DataCardValue102 is a text input control, you should reference DataCardValue102.Text. This would apply to all of the other similar places where you refer to DataCardValueXXX.

    timl_0-1666636614074.png

     

  • dataverse Profile Picture
    186 on at

    I have updated .Text

    I get the error below.

    dataverse_0-1666637042336.png

     

  • dataverse Profile Picture
    186 on at

    I also tried this error and it gives the same error as above.

    Patch(sharepointfile,
    LookUp(sharepointfile, id=DataCardValue2.Text,
    {Fieldname: DataCardValue255.Text})

     

    where the id of shrepointfile is text and not number

  • timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    @dataverse 

    In your call to Patch above, you're missing a closing bracket after the call to LookUp. It should look like this:

    Patch(sharepointfile,
     LookUp(sharepointfile, id=DataCardValue2.Text),
     {Fieldname: DataCardValue255.Text}
    )

    In your original formula, note there's a closing curley bracket after DataCardValue103. This should not be there - instead, there should be a comma.

     

    timl_0-1666643870346.png

     

  • dataverse Profile Picture
    186 on at

    I fixed that , but it does not update the record in sharepoint list.

  • KenSprNC Profile Picture
    37 on at

    Try wrapping with the Value() function

    Patch(sharepointfile,
     LookUp(sharepointfile, id=Value(DataCardValue2.Text) ),
     {Fieldname: DataCardValue255.Text}
    )
  • Dataversep Profile Picture
    32 on at

    The ud field in SharePoint and the datacardvalue2 are both text fields.

  • dataverse Profile Picture
    186 on at

    The id field in SharePoint and the datacardvalue2 are both text fields.

  • dataverse Profile Picture
    186 on at

    I tried wrapping with Value function and that does not update the sharepoint list.

  • dataverse Profile Picture
    186 on at

    Please let me know.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard