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 / Item already created i...
Power Apps
Unanswered

Item already created in the server: Error

(0) ShareShare
ReportReport
Posted on by 36

Hey All,

 

I have an issue with my app. I have a Combo Box connected to an excel table. The values are correct and I can search for the particular asset record I'm looking for. The problem is when I submit the form it says item already created in the server... 

 

I guess what I need is. 

 

The combobox purely there to select the particular asset then the user updates the other two fields by text input and thus creating a record In my table.

 

Please Help!

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

     If you intend to update the existing record, have you made sure the form is in Edit mode?

  • Woody2312 Profile Picture
    36 on at

    Hi, When the form is in edit, it cannot be viewed when i play app?

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @Woody2312 wrote:

    Hi, When the form is in edit, it cannot be viewed when i play app?


    This means the Item property of the form doesn't have a reference to the record you're trying to edit. This is often a LookUp() on the table containing the record you're trying to edit. If you share information about your table and the field you use to uniquely identify the record, we can help you build the LookUp().

     

    Bryan

  • Woody2312 Profile Picture
    36 on at

    Hi Bryan, thanks for the response,

     

    I have this Table below and the unique identifier is Trailer ID

    Woody2312_0-1691960092391.png

    There is over a 1000 records in there and i want the combobox to be searchable so users cannot select the wrong asset.

     

    appreciate the help 🙂

  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, make sure your combobox is set to allow searching, but multiple selections is turned off. The Items property should be set to the TrailerID1 and make sure the Trailer ID is listed under the defined Fields.

     

    Now, for your form, put the following in the Item property: LookUp(TrailerID1, 'Trailer ID' = comboboxName.Selected.'Trailer ID')

     

    Bryan

  • Woody2312 Profile Picture
    36 on at

    Hi Bryan,

     

    I am getting the below error, sorry not sure if i have made a mistake...

    Woody2312_1-1691962389408.png

     

    Woody2312_0-1691962344505.png

     

  • Woody2312 Profile Picture
    36 on at

    Just for Clarity, I have tried that formula in the Form3 Item Property and the ComboBox separately.

     

    Regards 

  • BCLS776 Profile Picture
    8,994 Moderator on at

    It's a bit confusing with all of these properties with similar names, so I'll re-phrase:

     

    Form3 Items: TrailerID1

    Form3 ItemLookUp(TrailerID1, 'Trailer ID' = comboboxName.Selected.'Trailer ID')

    ComboBox2 Items: TrailerID1, with the Fields to include 'Trailer ID'

     

    When you're re-typing this into your app, make use of the Intellisense autocompletion feature as you type, which helps Power Apps connect everything properly in behind.

     

    Bryan

  • Woody2312 Profile Picture
    36 on at

    I am now getting this error.... definitely User Error on my behalf...

    Woody2312_0-1691964591449.png

    I have put screenshot of Form 3 Items and combobox Item

    Woody2312_1-1691964839018.png

    really sorry, I am very new to power apps

      

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Hey, we all start somewhere, and I learn lots from this community too 🙂

     

    That error is a good thing - you've connected the table to the form and combobox correctly - it is showing an error because there is nothing valid to lookup when there is no choice in the combobox. So, let's modify that Item code in the form code a touch:

     

    If(!IsBlank(ComboBox2.Selected), LookUp(TrailerID1, 'Trailer ID' = ComboBox2.Selected.'Trailer ID'))

     

    Two more things:

    • Move you combobox outside of the form, otherwise it will be controlled/reset by the form and that might not work for your app
    • Consider editing the Visible property of the form to: !IsBlank(ComboBox2.Selected), which will hide it when there is no selection

    Bryan

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard