ztirom Blog

Xamarin Challenge 4 Authentication App Login

Xamarin Alliance Challenge Part 4 & 5

Today I finished the Xamarin Challenge part #4 and #5. In the rest of this post you can see what the two new challenges are about and how I completed them. In case you missed the first three parts or you are just curious what I am talking about here, take a look a few lines below, there you can...

AX2012 Open Folder XPP

AX 2012: Open a Folder with X++

In this post I want to show you a quick and dirty way to open a folder via X++ in AX 2012. Open a Folder in AX 2012 I added the following code at a Button in the clicked method like this. All it takes to open a folder via X++, is the DocumentManagementHelper class and its static method...

Xamarin Challenge Facebook

Taking part in the Xamarin Alliance Challenge 1-3

Last week I stumbled over the Xamarin Challenge in my Facebook timeline. A click later I was in the middle of a so called “coding challenge”, with three challenges ahead of me. If you didn’t took part in the challenge yet, no matter, you can start anytime. In this post I wanted to summarize my experiences when completing...

AX2012 Threading Slow Method

Simple Threading in AX 2012

In this post I want to show, how easily you can utilize the Thread class in AX 2012. Simple Thread example First we want to setup a new class. Next we want to add two static methods, one “slow” method which will use a sleep to simulate a lengthy runtime and one “fast” method. The idea here is that...

Azure set CDN Profile

Add Azure CDN to your WordPress Site

Serving static files from a CDN (Content Delivery Network) has various benefits for a website. As your visitors loading your static files, like images, js and css from a different server then yours and often directly from their region, the load time can improve a lot. Your serves payload goes down as well. Setup a CDN on Azure Utilizing...

Get the client name of your (rdp) maschine

Get the Client Name of your (Remote) Machine in AX2012

In this short post I want to highlight how you can get the name of the client which is connected to AX 2012, even if you run your session via a RDP connection. For this purpose I wrote a small Job, that outputs the client name in an Infolog. Code The first Info invokes the static global method...

Get User, Company and System Language in AX2012

Get User, Company and System Language via X++ in AX 2012

In this quick post I want to show you how to get the actual user language, the language of the current company and the system language in AX 2012 via X++. Languages in AX 2012 To get the actual company language you can call the static method languageId from the CompanyInfo table, which will return a LanguageId. (CompanyInfo::languageId –...

Azure Logic App Overview

Get notified per Mail by Azure Logic App when your Website is down

Today I want to demonstrate how one could monitor the online status of a website with the help of Azure Logic Apps. Please be aware that the steps I describe in this article may cost you money. Please see the Azure pricing page first. Azure Logic Apps are basically workflows that will help you to accomplish certain tasks in a...