cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Customize autonumbering for key fields

I have a sharepoint list for "Work Orders".  The Title field of the list is being used as the work order number, which is how each job is tracked.  So because the work order number / title is unique, i was hoping to have the next number automatically fill in the title data card when i click the button for a new form.  Is this possible?!  It would be huge if other office workers could just click a button in Powerapps, and the next work order number is already inserted into the form, and they could enter the other information manually.

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Customize autonumbering for key fields

Hi radtadBrad,

 

Please try if this will work for your scenario.


I assume that the unique order should be number. So on the edit form, add a button beside the title field.


Then set the button’s OnSelect property as: UpdateContext({test: Sum(Last(ProjectEmail).Title,1)})


And set the Title field’s Default property as: test


Then when you click the button, a new title will be generated.


Hope this could be a reference for you.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Customize autonumbering for key fields

Hi radtadBrad,

 

Please try if this will work for your scenario.


I assume that the unique order should be number. So on the edit form, add a button beside the title field.


Then set the button’s OnSelect property as: UpdateContext({test: Sum(Last(ProjectEmail).Title,1)})


And set the Title field’s Default property as: test


Then when you click the button, a new title will be generated.


Hope this could be a reference for you.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,792)