As part of my series on “Things new X++ Developers Should know”. I have been writing a few basic howtos for new X++ Developers.
Today’s post relates to quickly navigating to specific objects in the AOT without endless scrolling.
So often when working over the should of new developers or consultants exploring the AOT I see them scrolling endlessly or dragging the scrollbar back and forth for a while before finding the object they are looking for.
A common technique to navigate through lists in both Windows (e.g. My computer etc) and windows based environments (SQL management studio etc..) is to simply start typing the name of the object you are looking for. Windows automatically moves to the first object matching the sequence typed.
AX is by no means an exception to this rule. Simply click and expand the main node of the object you are looking for e.g. “Forms”
and start typing E.G. “PurchReqT…..”
As you type AX will move to the first object found matching what you have typed so far..
E.G. P moves to PartitionAdministration, Pu to PurchArgreement etc….
There are some bonus features when using this in AX:
1. You can always see what you have typed so far by looking at the bottom left of your screen
2. The typing timeout is long compared to applications like SQL etc where you need to have taken a speed typing course to get this right. As long as you still see the search term in the bottom you can just continue typing (this normally takes around 7 seconds or until you use your keyboard arrows or mouse to do something different
I know this may be a very obvious tip, but I’ve witnessed too many people taking forever to find objects by scrolling to not include this in the “Things new X++ Developers Should know” series.