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 / Saving data from Edit ...
Power Apps
Unanswered

Saving data from Edit Form using a post action - Not working

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am unable to save data from an edit form. The form uses the row selected from a data list to display in the edit form. I have a custom connector that has two actions (GetCustomers - gets ALL customers for the data list AND PostCustomer - *should* save data upon clicking on the save button below the edit form. I have something wrong/ some misunderstanding how this should work.

 

I started with "Save Form(EditForm)," but I was told that would not work for custom connectors. Now I have  DefPocApi.CustomersPostCustomer({Customer}) - this is not correct either.

 

Connector Name: DefPocApi

Action: CustomersPostCustomer  - should save {Customer}.

 

I would appreciate any help

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

    Hi pfg123,

     

    There is a SubmitForm function in PowerApps but no SaveForm function.


    Not sure if you are using the right function, please try again with SubmitForm function.


    More details about SubmitForum function, please see here:
    https://powerapps.microsoft.com/en-us/tutorials/function-form/


    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mabel Mao,

     

    I mistyped "SaveForm", I meant SubmitForm. My problem happens when I pull a list of data to a gallery from a GET REST API call to a connector I have created. This pulls the data fine. I then have a button in each record which will pull the gallery's selected item and put these data into an Edit Form. That works fine, too. The issue is when I want to UPDATE fields on the record. The data source to update is not the gallery the selected record comes from but the ubnderlying sql database that should be updated by a PUT rest call. The PUT rest call works fine when testing my connector, but I have no idea what the button should call: SubmitForm(customerEditForm) or MyRestApiConnector.PutCustomer(????).

     

    I cannot find any end-to-end examples for this. I have spent hours Googling and looking thru this forum.

     

    Do you (or anyone) have any further ideas/examples?

     

    Thanks,

    Pat

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