cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tissanfr
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
_douglasromao
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
_douglasromao
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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,460)