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 function error
Power Apps
Unanswered

Patch function error

(0) ShareShare
ReportReport
Posted on by 40

I am trying to patch the answers to screen 1 and screen 2 together to appear as one entry in my SP list. The patch function is giving me multiple errors. 

 

1) FormulaInItemOfEditForm3 isn't recognized.

2)Patch function has invalid arguments.

3)Name isn't valid- "Updates" isn't recognized.

4)Specified column "EditForm3" doesn't exist.

 

KPalmer_0-1709215177586.png

Screen 1

KPalmer_1-1709215249429.png

Screen 2

KPalmer_2-1709215262301.png

 

Categories:
  • CU18061035-1 Profile Picture
    Microsoft Employee on at

    hey @KPalmer 

     

    can you please copy/paste the code you are having?

     

    thanks in advance 🙂

  • KPalmer Profile Picture
    40 on at
    Patch('DPAL Add/Update Form', FormulaInItemOfEditForm3, {Requester: DataCardValue39.Text, Priority: DataCardValue41.Selected.Value, 'Request Type':DataCardValue40.Selected.Value, EditForm3:Updates});ResetForm(EditForm3)
  • CU18061035-1 Profile Picture
    Microsoft Employee on at

    hey @KPalmer 

     

    can you please try this:

    // Assume you're collecting data in variables or controls on Screen 1
    Navigate(Screen2, ScreenTransition.None, {Value1: TextInput1.Text, Value2: TextInput2.Text})
    

     

    Patch(
     YourSPList,
     Defaults(YourSPList),
     {
     Column1: Value1, // Passed from Screen 1
     Column2: Value2, // Passed from Screen 1
     Column3: TextInput3.Text, // Additional data collected on Screen 2
     // Add more columns as needed
     }
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • KPalmer Profile Picture
    40 on at

    Where do I put the navigate code? In the arrow on screen 1?

  • CU18061035-1 Profile Picture
    Microsoft Employee on at

    yes for example, whereever you want to trigger the navigation

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard