cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

How to build a simple app to fill a Sharepoint List ?

Hello !

 

Beginner here, I hope the questions are not too silly.

I would like to build a very simple app to fill a Sharepoint list. The list exists, with its default form, but I would prefer to provide an app. The need is very simple, we only need to show the form, not the answers. From the Sharepoint list, I can customize the form, but it's not for a standalone app, from what I understood. From PowerApp, I can create an app based on the Sharepoint List, but it's showing the list of items by default. What would be the easiest way to build this app plz ?

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver I
Resolver I

Hi @tissanfr ,

 

You can create on the Home screen a form connected to the list that you want to fill and on the OnVisible of this page (or on the OnStart in the app) you call the following function: NewForm(YourFormName), with this statement, everytime that the page loads or the app starts it will show the form in the new mode.

 

After this, you can add a Button on the page that will contain the function SubmitForm(YourFormName) on the OnSelect property, that will be responsible for submitting the data that you filled on the form to the SharePoint list.

View solution in original post

4 REPLIES 4
Resolver I
Resolver I

Hi @tissanfr ,

 

You can create on the Home screen a form connected to the list that you want to fill and on the OnVisible of this page (or on the OnStart in the app) you call the following function: NewForm(YourFormName), with this statement, everytime that the page loads or the app starts it will show the form in the new mode.

 

After this, you can add a Button on the page that will contain the function SubmitForm(YourFormName) on the OnSelect property, that will be responsible for submitting the data that you filled on the form to the SharePoint list.

View solution in original post

Great, thanks for the very fast answer, it's working fine ! In fact from the list, if I create an app, there is the screen with the form. I have deleted the two other screens, checked your instructions (it was already properly set), deleted a couple of settings related to the removed screens, and it's working fine. I need to customize it a bit more, it's showing a "getting your data" blank screen after submission. But I already have a working app, so thank you for showing me the right direction !

@tissanfr Nice!

 

You can add the NewForm(YourFormName) after the submit action, it will open the form to be filled again 🙂

Creating a new screen, I saw the "Success" template, and used it, so it's looking good. The only weird thing is when I click the "reset" button at the top left corner, it's set to "ResetForm()", but I still get this "getting your data" message on a blank screen. Should I force a screen navigation ?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Users online (7,185)