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 / Submitting a form for ...
Power Apps
Answered

Submitting a form for a new record, Item value

(0) ShareShare
ReportReport
Posted on by 143

Hi all,

What should the value for 'Item" be for the form I'm submitting if I want to create a new record? (not edit a current record)

 

It's currently blank, so I get the error 'a value must be provided for item' and I imagine this is meaning the actual 'item' value.

 

Thank you 

 

 

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

    @Connor_Taylor,

    The form mode is usually set by an EditForm(Form1) or NewForm(Form1) function in a button or icon’s OnSelecr property. The Item property for an Edit form is usually Gallery1.Selected. it is ignored when the form mode is New. If you are only using your form for submitting new data, set it’s default mode to New in the right hand column with the  form selected (use the breadcrumbs on the bottom of the screen) rather than Edit. 

  • Connor_Taylor Profile Picture
    143 on at

    Thank you, your explanation was very helpful.
    But it seems I had already done all this and still get the error 'The request operation is invalid. Server Response: a value must be provided for item'.

    Any thoughts on what this could be then?

    The form is set to 'New' and is called by a NewForm(form1) and every value in the form has a text input assigned to it.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    What platform are you using, excel, sharepoint, etc. If it's sharepoint, are any columns Choice or lookup types?
  • Connor_Taylor Profile Picture
    143 on at

    Data is connecting to a SQL server

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard