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 / On Add new row, what t...
Power Apps
Answered

On Add new row, what to put in the primary key if it is Autonumber?

(0) ShareShare
ReportReport
Posted on by 74

I have a flow that is creating a new row based on other table rows.  Once I get to the Add New Row, it is prompting me with an required field the primary key of the table I'm adding it to.  It is defined as a prefixed autonumber.  Not sure what need to put.  See below

 

bdherh1_0-1677939576539.png

 

 

bdherh1_1-1677939590867.png

 

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @bdherh1,

     

    You can either:

    • Make the column optional in the column settings within the table designer in maker portal.
    • Populate the value with the expression Null in your flow. The platform will take care of populating the correct Autonumer value.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • bdherh1 Profile Picture
    74 on at

    Thank you.  I figured since it was the primary name column.  It defaulted to Required and I left it.  I just changed it to Optional and it took.  I will try it on my form in a bit

  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    On your forms you should make the Autonumber field read only. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard