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 / How to add an item to ...
Power Apps
Unanswered

How to add an item to a Sharepoint List without a form?

(0) ShareShare
ReportReport
Posted on by 457

I have a simple list with the following columns: Firstname, Lastname, Emailaddress. 

I've manually built a form in PowerApps that include the text fields: Firstname, Lastname, Emailaddress and a Submit button. 

 

I know I can use the Customize with Power Apps option in SP. I want to create my own form with three text fields and one submit button - because that should be a very simple thing to do and I should know how to do it. I'm sure the instructions are straight forward and readily available but I'm having a hard time finding anything other than "building a form" and "build a simple form" that both utilize the built in Form screen.   

 

So, what's the string to something like,

OnSelect: MySharePointList (NewItem [Firstname(firstname.text), Lastname(lastname.text), Emailaddress(emailaddress.text)]). 

Obviously I'm lost with how to build a formula.  

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

    @anthonys123 

    You can use the following to create a record:

    Patch(yourDataSource, 
     {FirstName: firstname.Text,
     LastName: lastname.Text,
     Emailaddress: emailaddress.Text
     }
    )

     

    Since you are not specifying the ID of the record, Patch will know to create the record.

     

    Make sure you are providing any required column values as well.

     

    Note: you will see some show doing this with the Defaults function...however, it is not needed.

     

    I hope this is helpful for you.

  • anthonys123 Profile Picture
    457 on at

    Perfect! I wouldn't have thought of Patch. Thank you so much for the quick response. 

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard