Your SlideShare is downloading. ×
0
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Adding New Fields to Dynamics AX 2012 Forms
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Adding New Fields to Dynamics AX 2012 Forms

8,520

Published on

Although there is a lot of standard fields within Dynamics AX, sometimes there are fields that you need just for your installation. …

Although there is a lot of standard fields within Dynamics AX, sometimes there are fields that you need just for your installation.

In this worked example we will show how to create a new field, add it to the database, and then update the form definitions so that you will be able to maintain the new field… all without writing a single line of code.

Published in: Technology
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
8,520
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
391
Comments
1
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Dynamics AX | DevelopmentADDING NEW FIELDS TO FORMS Although there is a lot of standard fields within Dynamics AX, sometimes there are fields that you need just for your installation. In this worked example we will show how to create a new field, add it to the database, and then update the form definitions so that you will be able to maintain the new field… all without writing a single line of code. © 2013. All rights reserved.
  • 2. Find the Table inAOTThe first thing that you need to do is find the source tablein the AOT developer interface.Note: There is no need to go into MSSQL to access thesetables.Tip: Once you have fond the table, if you use the “OpenNew Window” option, then you will get a new windowwith just the table that you are working on. © 2013. All rights reserved.
  • 3. Add the New FieldNow that we have found the table, we can see all of thefields for the table by opening up the Fields group. © 2013. All rights reserved.
  • 4. Add the New FieldFrom the context menu, add a new field. In this examplewe will add a String. © 2013. All rights reserved.
  • 5. Add the New FieldFrom the properties panel, give the field a name, and alsoa Datatype. In this example we will add a field for aTwitter profile, as a URL. © 2013. All rights reserved.
  • 6. Save the TableDefinitionEither from the menu bar, or from the context menu,select the “Save” option to commit the changes to thedatabase. © 2013. All rights reserved.
  • 7. ChangesCommittedNow that you have saved the table, the red bar indicatingthat the table updates were not processed willdissappear. © 2013. All rights reserved.
  • 8. ChangesCommittedAnd just to be sure, we can go into SQL EnterpriseManager and see that the field has been added to thetable. © 2013. All rights reserved.
  • 9. Find The FormNow that we have the field in the database, we want tobe able to add it to the forms so that we can maintain thedetails.From the “Forms” group in the AOT, find the formdefinition. © 2013. All rights reserved.
  • 10. Add a New TabPageAlthough we could add this field to any of the existinggroups in the form, it may be a good idea to create a newtab page for our new custom fields.To do this, open up the design for the form, and drill downto the form details. © 2013. All rights reserved.
  • 11. Add a New TabPageFrom the context menu add a new “TabPage” control. © 2013. All rights reserved.
  • 12. Add a New TabPageAnd name the tab. © 2013. All rights reserved.
  • 13. Create GroupsNow, from within the tab page folder, add a new Group,just so that the fields are tidy. © 2013. All rights reserved.
  • 14. Create GroupsName the group. © 2013. All rights reserved.
  • 15. Create GroupsAnd just to be organized, we’ll create another group forthe field. This will allow us to add other fields within thispage later on and have then segregated out. © 2013. All rights reserved.
  • 16. Add the Field to theFormFinally, add the field that you just created in the firstsection to the form. To do this, we will add a StringEditcontrol. © 2013. All rights reserved.
  • 17. Add the Field to theFormAll we have to do is name the StringEdit box, and thenalso specify the datasource for the field – which will beour newly created field.After you have added the field, just save the formdefinition to commit it to the database. © 2013. All rights reserved.
  • 18. Updated FormNow when we access the Contact form, we can see ournew field for the contacts Twitter profile. © 2013. All rights reserved.
  • 19. Updated FormAnd the field also shows up in the form personalization, sowe can show, hide, and move it around just like all of theother fields on the form.Very cool  © 2013. All rights reserved.
  • 20. AboutMurray Fife

×