Bojensen Blogs

Forfatter: Bo Jensen

How To: Directing Reports to Email

Dynamics AX 2012 Sharing reports via Email has never been easier. The following exercise outlines the process for developing a reporting solution that includes automatic distribution using Email without prompting the user for additional parameter information. Step 1/2: Create a session management class To send reports via Email from code you can use the new…

Sending email via SMTP using X++ and .NET Framework in Dynamics AX

Sending custom email notifications is a very common requirement for Dynamics AX. The code sample included in this post contains the following features: attaching files, designating email priority setting, specifying To/From/CC recipients, and populating the subject line and body of the email. It’s assumed that you already have an operational SMTP server which is accessible…

There was an error while trying to deserialize parameter

  There was an error while trying to deserialize parameter The InnerException message was ‘Element ‘’ contains data from a type that maps to the name ‘’………………………………….Some times we get the above error while running reports in Axapta 2012. To resolve this issue we need to delete usage data in the AOSserver.

How do I set AX 2012 SSRS report to a specific language?

set the current session language and set the rendering language of the report in Controller . Check if this works controllerobj.parmReportContract().parmRdlCOntract().parmLanguageID(‘Language ID you want ‘) before calling the report ’s start operation method. this is actually passed to your report from the client during the execution. You need to create labels used in the report…