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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create new sharepoint ...
Power Apps
Answered

Create new sharepoint item lists with a form from powerapps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a list in my sharepoint called "inventory", i need a form in powerapps that has only the function to ADD totally new list items to the sharepoint list, the problem is, when i put the the form in, and try to test the app, it says "there's no element to show", and when i try to give it an item, like linking it to a gallery that's connected with the exact same sharepoint list, and put in the item section of the form the function: "gallery1.selected", then it shows the info, but if i modify any of the data of the form, then it will not generate a new item, it will modify the selected item, and that's not what i want...

 

I need that the form shows the text entrys totally blanks, and then, when i saved the info that i typed in, with a button with the function: "submitform(form1)", it creates a totally new item in the sharepoint list; thanks in advance!

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,
    This is a common issue to encounter. The fix is to set the DefaultMode Property of your form to FormMode.New (instead of FormMode.Edit).Hope this helps.

    image.png

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Based on the issue that you mentioned, I think there is something wrong with the DefaultMode property of the Edit form in your app.

    Please consider set the DefaultMode property of the Edit form in your app to following:

    FormMode.New

    Set the OnSuccess property of the Edit form to following:

    ResetForm(Form1)

    4.JPG

     

    Please take a try with above solution, then check if the issue is solved.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard