Label ID fix
I recently saw an interesting problem with labels in AX 2012 – two customizations created different labels with the same IDs, therefore the newer won and the older one showed completely wrong texts in...
View ArticleClass extensions
The new Dynamics AX (AX 7) attempts to minimize overlayering (“customization”) and promote extensions, which allow adding functionality without modifying source code of the original object. For...
View ArticleExpression builder in AX 7
If you want to allow users configure certain conditions by themselves, considering using the Expression Builder control. This is how it looks like: It exists already in AX 2012, where you can add it...
View ArticleApplication Explorer filtering
Application Explorer in AX 7 allows easy filtering, which is extremely useful, because trying to locate something in AOT is what we do all the time (I really missed this feature for many years). It...
View ArticleNew metadata API
AX 7 (“Microsoft Dynamics 365 for Operations”) offers a new API for getting metadata of AX elements such as tables, form extensions, models and so on. It’s very easy to use, therefore even if you’re...
View ArticleInstalling deployable packages with Powershell
Installing deployable packages to an AX 7 environment can often be done just by a few clicks on LCS (as described in Apply a deployable package on a Microsoft Dynamics 365 for Operations system)....
View ArticleFind assembly for a given type – in AX 7
Five years ago, I wrote a blog post called Assembly containing a given type, demonstrating how to find the assembly where a given type is defined. I needed the same thing in AX 7, but instead of using...
View ArticleExtensible control – X++ classes
User interface in AX 7 (Dynamics 365 for Operations) is now in web browser, which forced Microsoft to make many fundamental changes. Obviously, they had to rewrite all controls to HTML (plus JavaScript...
View ArticleExtensible control – HTML/JavaScript
The first part of this mini-tutorial showed how to create necessary classes for an extensible control. We have X++ classes for a control showing maps, we’ve added the control to a form and set a few...
View ArticleJSON-based custom service with parameters (AX 7)
Dynamics 365 for Operations deploys custom web services in two ways: as SOAP-based services and JSON-based services. AX developers are often familiar with SOAP services (which were used in AX 2012),...
View ArticleIt’s official – AX 7 will support deployment on-premises
Make sure you familiarize yourself with new (upcoming) deployment options for Dynamics 365 for Operations. In short, you’ll be able to run it outside cloud (e.g. on your own hardware) and then either...
View ArticleIoC containers for extensibility
Dynamics 365 for Operations (AX 7) tries to get rid of the ugly concept of “customizations”, when developers directly change somebody else’s code, which has a plenty of negative consequences. Most...
View ArticleFlow and Logic Apps
I see a lot of confusion regarding Microsoft Flow and Logic Apps, so let me very briefly explain what they are and when you should use them. First of all, you should realize that they’re very closely...
View ArticleCatching exceptions in AX 7
In this blog post, I briefly recapitulate how to throw and catch exceptions in X++ and introduce a new way of handling CLR exceptions in AX 7. X++ exceptions When you want to throw an exception in X++,...
View ArticleOn-premises deployment landing page
The on-premises deployment option for AX 7 (Dynamics 365 for Finance and Operations, Enterprise Edition) was longed for by many and it’s finally there. You can learn more about it on On-premises...
View ArticleOpen API for JSON-based custom services in AX 7
If you’re familiar with SOAP web services, you likely know that they use Web Services Description Language (WSDL) to document what operations a service provide, what parameters they accept, what they...
View ArticleRecurring Integrations Scheduler
You may have heard about QuartzAX, an application for file-based integration with AX 7 (Dynamics 365 for Finance and Operations, Enterprise Edition). Microsoft announced at the last Technical...
View ArticleReference group and GROUP BY
This blog post explains a problem that you can run into when using reference group controls with grouped data – and a solution for this problem. I have a table which stores references to workers. The...
View ArticleSplitting .xpo files
I got an .xpo file from an older version of AX with some code of interest and because it had a few thousand lines, it wasn’t exactly easy to navigate. At least splitting it by object would make my life...
View ArticleThoughts on element prefix vs. suffix
When I read Evaldas Landauskas’s blog post Development guidelines: Prefix Vs. Suffix, I thought I would write a comment below the post and share a few ideas, but then I decided that it’d be better to...
View Article