[ ax2012 ] calling Ax32.exe instead of AxHLink.exe

Since AxHLink.exe will limit to only the default configuration, we will call the Ax32.exe that is more open to various configuration instead.

To do that,

instead of calling

AxHLink.exe Dynamics://0?DrillDown_5637192587

we use startupCmd parameter of Ax32.exe

"C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32" "C:\path\to\configuration.axc" -startUpCmd=DrillDown_5637192587

Note that we can find multiple feature of startUpCmd under `Switch` section of the following class ( as explained in MS ref )

\Classes\SysStartupCmd\Construct

Note2 : allow all arguments to pass from the client is risky, so it is better to call to .bat or .lnk instead of calling directly to ax32.exe

ref : http://stackoverflow.com/questions/23336165/open-direct-links-to-ax-objects-or-datasets-from-external-application

[ ax2012 ] dynamics protocol

Access to protocol dynamics://

[HKCR\dynamics]

(Default)       =”URL:dynamics link”

URL Protocol=””

dynamics_regedit

[HKCR\dynamics\Shell\Open\Command]
(Default)         =”path\to\AxHLink.exe %1″

dynamics_protocol

ref : http://stackoverflow.com/questions/3468000/problem-setting-up-custom-url-protocol-on-windows-ce

NOTE: to open RemoteApp ( .rdp ), use mstsc command, for example

(Default) = mstsc.exe "D:\AXHLink.rdp"

or if we would like to pass parameter, just use the simple batch file and point the link to batch file

overview

(Default) = D:\AXHLink %1

batch file that append `remoteapplicationcmdline:s:`

@echo off
copy D:\\AxHLink_Template.rdp D:\\AxHLink.rdp
echo %* >> D:\\AxHLink.rdp
call D:\\AxHLink.rdp

Access Rdp via web url

Access the rdp via

https://[your ip]/RDWeb/

Problem

Even we use IE version that is >= 6.

Browser Not Supported

This Web browser is not supported by RD Web Access. RD Web Access requires Internet Explorer 6.0 or later.

You can download the latest version of Internet Explorer from the Windows Update Web site.

Solution

1. Access IIS manager using Administrator privilege, click HTTP response

iis_manager

2. Click Add..

Name: X-UA-Compatible
Value: IE=9

3. Restart IIS Server

using Manager Server > Restart button on the right of the previous screenshot

ref : http://leetcloud.blogspot.com/2014/06/remote-desktop.html