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 / SharePoint custom form...
Power Apps
Answered

SharePoint custom form with PowerApps - Autosave

(0) ShareShare
ReportReport
Posted on by 75

Hi at all

 

In a SPO list you usually have the possibility to edit a entry and get a autosave for every column.

 

like here:

 

Screenshot 2020-03-04 at 15.33.33.png

 

 

 

 

 

 

 

 

 

 

 

After editing the form with PowerApps this feature isn't available anymore and I have to take "Edit all" and "Save".
Isn't it possible to keep the autosave-feature, even with PowerApps custom forms?

 

Thanks a lot in advance and all the best

 

Sebastian

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

    Hi @steersebastian ,

    Do you want to achieve a "Auto-Save" functionality within the custom form app?

     

    Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs in PowerApps. As an alternative solution, I think the OnChange property of each Text Input box within the data cards in your Edit form could achieve your needs.

     

    Please consider set the OnChange property of the Text Input box (or DatePicker control, or ComboBox, ....) within the data cards in your Edit form to following formula:

    For Text field data card:

    If(
     SharePointForm1.Mode = FormMode.Edit,
     Patch(
     'SP List',
     SharePointIntegration.Selected,
     {
     TextField1: TextInput1.Text
     }
     )
    )

    For Date type field data card:

    If(
     SharePointForm1.Mode = FormMode.Edit,
     Patch(
     'SP List',
     SharePointIntegration.Selected,
     {
     DateTypeField: DatePicker1.SelectedDate
     }
     )
    )

    For Choice field data card:

    If(
     SharePointForm1.Mode = FormMode.Edit,
     Patch(
     'SP List',
     SharePointIntegration.Selected,
     {
     ChoiceField: {
     Value: ChoiceFieldComboBox.Selected.Value
     }
     }
     )
    )

    you need to apply above formula to each data card in your Edit form.

     

    More details about the Patch function, please check the following article:

    Patch function

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @v-xida-msft 

     

    Thanks for providing the OnChange code. It works really well!

     

    I have a form that has about 90+ fields on it and I have users running into 1 issue. When they click out of the field after editing it, the form jumps all the way to the top and they have to rescroll down to the next field.

     

    Do you know why this could be happening? Is there something I need to turn off or change?

     

    Brandon

  • SP20 Profile Picture
    39 on at

    Did you ever solve your save problem, I have a form with that same issue!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard