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 / How to Save Data Input...
Power Apps
Answered

How to Save Data Input into Canvas App into SharePoint List

(0) ShareShare
ReportReport
Posted on by 16
Hello Everyone!
 
Probably a very simple question, but I am having trouble finding an answer that matches what I am doing.
 
I am creating multiple Canvas Apps which all have the same Data Source, a single SharePoint list. Each app contains a different set of fields/columns from the list to capture data for a specific function (details not important to this question). In creating the app(s), I selected Edit Form and then hooked up to the SharePoint list as my Data Source. I added the appropriate fields for each app and then added a button that I am hoping will work as a Submit button. When someone opens the app, fills in the applicable fields, and hits Submit, I would like a new entry to be created in the SharePoint List containing the data they entered.
 
How do I set up the button to perform this action (save all data input into the app as a new entry in the Data Source SharePoint List)?
 
Thank you!
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    If you are splitting the fields across multiple apps you'll need to do a couple things
     
    1) have a Unique index field, like ID, that is included as a readonly field in the form
    2) Have no Required fields in the SharePoint list, or add any required fields to each form.
     
    If you do those two things you should be able to use the ID to see if the record was created in a different app.  If it was use EditForm, if it wasn't use NewForm.
    Then you can use SubmitForm() in the button to submit the values entered either as a new record or edits to an existing record.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    To create a new record in a SharePoint list from a Microsoft Power Apps Canvas App:
    • Set the form’s DefaultMode = FormMode.New
    • Ensure the form is connected to the correct DataSource (SharePoint list)
    • Set the button’s OnSelect = SubmitForm(FormName)
    Best Practice
    • Use OnSuccess to show confirmation and reset the form
    • Use OnFailure to handle errors
    This ensures that when users click Submit, a new record is created in the SharePoint list successfully.

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 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard