AX Consulting

Just another WordPress.com site

How to create project with all objects in Specific layer In Dynamics AX

 

Challenges:

  • When investigating code in Ax, it may be useful to get a quick overview of all the code in a specific layer.
  • When you intend to move code from one layer to another, you may need a list of objects in a specific layer.

Follow these steps in order to get a solution for both challenges with ease:
Step 1: Create a new project.


You can rename your project as desired, we’ll call it Project_USR_Layer for now. Then open the newly created project.

Step 2: Choose Advanced Filter/Sort from the toolbar.


If you are into keyboard short-cuts, you can use Ctrl-F3 for this as well.
A new dialog pops up.

I like my objects grouped in the project as they are grouped in the AOT, so I’ve chosen Groupings – AOT.
Step 3: Select the required objects.

Use the Select button on the dialog to select the objects you require for your project.
We want select all AOT objects from a specific layer, so we’ll use the UtilLevel field in the selection criteria.

From the screenshot you can see that all objects from the USR layer are selected. If desired, you can limit the type of AOT objects for your project as well, by using the recordTypefield.
Confirm twice and the objects are added to your project. This may take some time, so be patient 🙂

Similar challenge:

You can use the same method for selecting AOT objects modified/created by a specific programmer. Just set different selecting criteria in your query.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: