Skip to main content
Community site session details

Community site session details

Session Id : 6W3cBRMRXmzs1YMdzye8WL
Power Apps - Building Power Apps
Answered

Save data to Sharepoint list

Like (0) ShareShare
ReportReport
Posted on 22 Jul 2021 19:03:51 by 12

Hello

I´m creating an App that has 7 views, each view has this kind of structure:

OmarEspinoza90_2-1626980574250.png

 

The last view is this:

OmarEspinoza90_3-1626980574261.png

 

I want to bring all the information from the different fields, but they are not in a EditForm, I put all of them in the normal way.

What I want to do is bring the information of each field and send it to the Sharepoint list only using the Finalizar button.  Is there any option?

Thanks.

  • OmarEspinoza90 Profile Picture
    12 on 23 Jul 2021 at 04:18:45
    Re: Save data to Sharepoint list

    The application is a system to make appointments, bring the information from 2 sharepoint lists. And it should send the information to a new list called FumigApp.

    In this view you must search for the client, then when you add the client, the next fields are bringing the information automatically from the same list of sharepoint.

    OmarEspinoza90_4-1627013973144.png

     

    I have one question, in the second step:

    OmarEspinoza90_5-1627013973148.png

     

    Do I have to connect to the list where I want to upload the information from the views?

    OmarEspinoza90_6-1627013973163.png

     

    Thank you,

    Omar E.

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 22 Jul 2021 at 19:51:00
    Re: Save data to Sharepoint list

    @OmarEspinoza90 

    Actually, the EditForm would be the normal way.  What you are doing is breaking out all the interface parts to custom user elements.

     

    My recommendation would be that you use the EditForm to be able to submit the data on the Finalizar button.

     

    Here is how to go about it...

    1) Create a new screen in your app.  This screen does not ever need to be visible to the user.

    2) Insert an EditForm (let's call it frmData) on that screen and connect it to your datasource. Set the DefaultMode to New

    3) Unlock the datacards in the form and change the input controls to reference your custom controls in the rest of the app.  Example, if you have a TextInput control in the datacard for Ingrediente Activo then change the Default property on that control to : theTextInputControlOnFirstScreen.Text

    Repeat this for all the rest of the controls where you are changing the Default properties of all the controls in the form from Parent.Default to the name of the control in your app for that field.

     

    Finally, on the Finalizar button OnSelect - use the following function SubmitForm(frmData)

     

    You have not mentioned that this app will allow editing of existing records, so I am assuming this is an enter-and-go type app that does not allow editing.  If so, then also add this formula to the OnSuccess action of frmData : NewForm(frmData)

     

    This will give you the robust features of the EditForm while allowing you to separate the interface from the Form (i.e. custom controls that you have).

     

    I hope this is helpful for you.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete