03 February 2012

Empty AX 2012 Project with all main nodes

To get an empty project with the AOT tree-nodes you can use this project:

EmptyProject.XPO

02 February 2012

Change SSRS Report to orientation to landscape

If you need to change the orientation of a report to landscape or to a different format like letter or DIN A4 there is a real easy way. But you'll have to know this way :)

Right click on the background beside the report and select report properties. (or in german: Berichtseigenschaften...)


Than the following form opens where it's possible to change the orientation, the size and so on...


26 January 2012

SSRS Insert new field error - field token is invalid


If you get this error message:

Field token Fields!MyNewField.Value is invalid. Could not find the identifier. \SSRS\Reports\Reports\

when you try to add a new field from AX to a SSRS Report.

The first thing to do is to refresh the datasets in VisualStudio.


After that you should check the Query property of the DS. If there is a fieldlist in the select statement. Just click into the property and open the "Select a Microsoft Dynamics AX Report Data Provider" Dialog. Select the required DataProvider Class and click Next. Than you'll get the possibility to select some or all fields from the tables that are provided by the DP class.


11 January 2012

Open Visual Studio with another AX configuration

If you need to start Visual Studio connected to another AOS there are two ways to do this:


  1. Create a shortcut:

    add the/AxConfig command in the Target field:
    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig NameOfClientConfig
    or
    "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /AxConfig C:\AX2012ClientConfig\ClientConfig.axc
  2. CommandLine:
  3. you can use the commands as shown above.

05 January 2012

Test Dynamics AX 2012 SSRS Report Server Configuration

To check you're SSRS Configuration open a Microsoft Dynamics AX 2012 Management Shell as an admin and insert the following command:

Test-AXReportServerConfiguration

If you want to run the test against a special ReportServer:

Test-AXReportServerConfiguration -Id ReportServer01

Or to check a special WSDL Port

Test-AXReportServerConfiguration -ServicesAOSName ServerName
-ServicesAOSWSDLPort 8103