Quantcast
Channel: dynamics ax – Goshoom.NET Dev Blog
Browsing all 117 articles
Browse latest View live

Unit testing in AX – Dependencies

In my previous post on unit testing, I explained how to handle a few simple situations, nevertheless things often get more complicated. One such complication occurs if the class that you want to test...

View Article


Image may be NSFW.
Clik here to view.

Preview of Release Management

When you develop a new solution, it’s useless until you deploy it to a production environment where users can actually use it. Before you can do it, you typically need a few extra deployments to test...

View Article


Image may be NSFW.
Clik here to view.

Configuration of LCS System Diagnostics

System Diagnostics from Dynamics Lifecycle Services is a really handy tool – it collects data about your Dynamics AX environments and warns you if your setup is not optimal from performance...

View Article

Refreshing form parts

When using form parts in AX 2012, you sometimes need to explicitly refresh their data based on an event in the main form. It may not be completely obvious how to do it, but it’s not too complicated in...

View Article

X++ to CIL: Object must implement IConvertible

Somebody asked in Dynamics User Group forum about an error thrown by RetailCommonWebAPI running in a batch in AX 2012 (RetailCommonWebAPI in batch mode). I don’t want to discuss that particular problem...

View Article


New X++ features in AX 7

X++ didn’t change much since I started to work with it eleven years ago, with a few exceptions such as event handlers in AX 2012. That’s not true anymore in AX 7, because it comes with many new...

View Article

UtilElements in AX 7

In older versions of Dynamics AX, you can get information about AX application objects (metadata) through system “tables” such as UtilElements. This doesn’t work anymore in AX 7. These tables still...

View Article

Image may be NSFW.
Clik here to view.

File upload and download in AX 7

New Dynamics AX is a web application running in cloud, so how can users work with files in such an environment? The answer is: in the same way as with other web applications. If you know how to add and...

View Article


Image may be NSFW.
Clik here to view.

LCS on Azure Portal

I was really surprised when I noticed Dynamics Lifecycle Service on Azure Portal. I didn’t know that Microsoft even planned such a feature. It shows projects, environments and so on defined in LCS. The...

View Article


Image may be NSFW.
Clik here to view.

How to send emails from code in AX 7

There are many situations when you may want to send an e-mail from Dynamics AX. Let’s see what options we have. First of all, you have to configure the environment. Go to System administration >...

View Article

Image may be NSFW.
Clik here to view.

Code snippets in AX 7 – Introduction

Code snippets, in general, are small pieces of code that often can’t be used separately, but they’re rather intended to be integrated in a larger solution. Visual Studio offers several features for...

View Article

Image may be NSFW.
Clik here to view.

Code snippets in AX 7 – The Problem

In the previous blog post, I demonstrated how to use several code snippets in Visual Studio. I also mentioned that there is a problem – here I’m going to look at it more closely. Let me introduce yet...

View Article

Image may be NSFW.
Clik here to view.

Custom code snippets in AX 7

I already explained how to use code snippets and a problem you might run into, but what if you want some additional snippets? The good news is that you can easily build new snippets by yourself. Let’s...

View Article


Image may be NSFW.
Clik here to view.

Fonts and colors in Visual Studio

Moving Dynamics AX development to Visual Studio gave us a state-of-art IDE with many features and configuration options. For instance, you can modify fonts, font sizes and color to match your...

View Article

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Class 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 Article

Image may be NSFW.
Clik here to view.

Expression 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 Article


Image may be NSFW.
Clik here to view.

Application 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 Article

Image may be NSFW.
Clik here to view.

New 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 Article

Installing 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 Article
Browsing all 117 articles
Browse latest View live