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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,443)