Blog

Send an SSRS report by email programatically

You might need to send an SSRS report by email programmatically without showing the user the email options. Just overwrite the preRunModifyContract of your controller class.Here is the code:Don't forget to set the controller.parmShowDialog() method to false....

SSRS FieldGroupMetadata Exception

If you ever encounter this exception:Exception of type 'Microsoft.Dynamics.AX.Framework.Services.Metadata.Exceptions.MetadataItemException`1[Microsoft.Dynamics.AX.Framework.Services.Metadata.Contracts.FieldGroupMetadata]' was thrown.When1) Printing a SSRS Report2) Refreshing the DS from AX VS SSRS solution3) Deploying a report from command lineIt means there's good probability one of your tables f...

How to debug an SSRS report

Sometimes when you place a breakpoint in a data provider class to debug an SSRS report and exercise the report to hit the breakpoint it works and sometimes it doesn't. So the trick to always make the hit is to inherit from the SrsReportDataProviderPreProcess class instead of the SRSReportDataProviderBase class...

Debugging SSRS data providers

To debug SSRS data providers, just make sure:1) Your AOS user running the service is inside MIcrosoft Dynamics AX Debugging user group2) Your AOS server setup allows debugging on server and global breakpoints3) Your AX Client is setup to allow breakpoints4) Your AX Debugger is open5) If you changed the DP class and in the debugger you can't see the changes, make sure you recompile CIL incrementalW...

Back to Blog

© 2017 Dynaxti, inc. All rights reserved.

Navigation

Social Media