POWEROBJECTS

718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

Using the PowerAutoNumber solution from PowerObjects automatically creates a number when an entity is first saved. In today’s blog, we’ll show you how to use PowerAutoNumber to set a system required field with auto numbering.

Auto numbering

The system required field has to be filled out before you save. The PowerAutoNumber solution generates the automated number during creation, which occurs when a user saves. Here are the steps needed to save PowerAutoNumber into a system required field automatically.

1. First, create a hidden text field on the form you wish to have the automatic number added to. In our example, we’ve created a single line text field named po_autonumberhiddenfield and unchecked the Visible by Default box in its properties, thus making it a hidden field.

Auto numbering

Auto numbering

2. Set a place holder in PowerAutoNumber as {ProductIDNumber} as instructed in the User Guide.

Auto numbering

3. Create the JavaScript which we have named PowerAutoNumber Field.js. This initially sets the system required field: Product ID to {ProductIDNumber} onLoad for Form Creation.

Auto numbering

 

4. Next, add the JavaScript as a web resource to the appropriate form.

Auto numbering

5. Once the form is saved, it will auto set ID to PowerAutoNumber as shown below:

Auto numbering

Auto numbering

That’s all for the blog today! Our PowerPacks are the ultimate solution for taking Dynamics CRM to the next level! Go ahead, become a CRM superhero and download one of our many add-ons for a FREE 30-day trial!

Happy CRM’ing!

Avatar for JoeCRM

JoeCRM

Joe CRM is a CRM superhero who runs on pure Microsoft Dynamics CRM adrenaline. As the face of PowerObjects, Joe CRM’s mission is to reveal innovative ways to use Dynamics CRM and bring the application to more businesses and organizations around the world.