There are some cool stuff you can do with the Dynamics AX URL that you should be aware of. Knowing these tricks will be beneficial during sales work, configuration and even in your daily work routine.
A URL is built up of a domain, folder, webpage and attributes.
Like: www .domain.com/folder/folder/webpage.aspx?attr1=value1&attr2=value2
The Dynamics AX URL doesn’t need folders or webpage (underlined), but it does contain some attributes that are worth getting to know a bit better. Here are my favorite ones…
Calling the domain without any attributes gives you the DefaultDashboard and the company selected in your user options.
Select a form (“mi=[menuitem]”)
This is one of two attributes is always present. Decoding this can make you swiftly go directly to a desired form. Storing URLs in favorites on your browser will give you direct access to a form.
Select a company (“cmp=[legal entity ID]”)
This is the other attribute always present. This shows the legal entity that you want to access. No information and the system calls the one that is selected in your users options. However it is great if you’re working with multiple companies to store different menu items that starts you off in one company or the other.
Example = “cmp=DAT”
Select a language (“lng=[lang]”)
The default language is the one that is selected in your user options. To work in an environment with another language you would normally make you go change parameters and reload the application. This is a REALLY fast way to just look at another language quickly. Great if you work in your local language and want to run through a tutorial or guide in another language… Like this one: dynaxtips.com/ax2012ta/
Example = “lng=nb-no”
Restrict navigation (“limitednav=true”)
In some cases you might want to restrict access to a navigation. This is really nice for the manufacturing execution terminals or a simple dashboard, customer information etc.
Another great way to use this is if you want to limit your navigation in cases where you do cross company lookups. So if you want to go in to another company and don’t want to run around doing other stuff once in that company. That could be a good damage control functionality.
Get to your data!
To get to your oData feed from the entity store… Simply write the folder: data after the domain. This will list all your entities. Adding the URL in the listing will give you the result. Try adding this to your Excel oData query to REALLY simply get to your data.
Example: https: //[yourdomain] .cloudax.dynamics.com/data/Customers