web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Save data to Sharepoin...
Power Apps
Unanswered

Save data to Sharepoint list

(0) ShareShare
ReportReport
Posted on 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.

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @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.

  • OmarEspinoza90 Profile Picture
    12 on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard