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 another snippet, just to make it a little bit more interesting. propfull is modeled on a snippet …

Continue reading ‘Code snippets in AX 7 – The Problem’ »

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 working with snippets, and because Dynamics AX development is now done completely in Visual Studio, X++ developers can use them too. Let’s start …

Continue reading ‘Code snippets in AX 7 – Introduction’ »

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 > Setup > Email > Email parameters (or simply search for email parameters in navigation search). The first tab shows email …

Continue reading ‘How to send emails from code in AX 7’ »

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 download attachments in your webmail client, you can do it in AX 7 as well. …

Continue reading ‘File upload and download in AX 7’ »