web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Export Report Definitions / Building Blocks from Management Reporter Automatically

(0) ShareShare
ReportReport
Posted on by

Is there any way to automate the extract of report definitions from Management Reporter?

i.e. I found the following post explaining how to do this manually / it seems fairly straight forward & not too painful (especially as you can "select all" when selecting which building blocks to export): https://community.dynamics.com/ax/f/33/p/183571/457268#457268

...But as MR reports are written by analysts and super users rather than developers, I'm expecting reports to appear intermittently, with no consideration for source control / good SDLC practice.  

Since I like all code to be tracked (to some degree at least), I'm hoping to have a nightly extract of all building blocks which can then be checked into source control; (i.e. with VSTS), with source control determining what's changed (if anything) and saving the related changes as a change set; that way if anything goes wrong I can easily find out exactly what's changed when in investigating those issues.

I'm ideally hoping there's a PowerShell library with some soft of `Export-MRBuildingBlock` cmdlet; but any suggestions would be good.

I'm not keen on using database backups for this purpose; since whilst the DB backups allow us to recover the definitions to any date, they're not human-readable; so it would be hard to tell what's changed when without restoring each in turn and then manually hunting through the definitions in MR.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi John Bevan,

    I am not aware of such an automatic functionality and believe that you have to build it either yourself. Alternatively, you can ask MS to enhance the current MR product through MS connect. http://connect.microsoft.com/

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Thanks Ludwig.

    FYI: I took a look at the TDBX created when exporting manually and realised that it's not a human readable file as I'd expected anyway.

    Looking on Connect, Ax2012 / MR aren't listed as accepting suggestions; presumably as MS are now focussed Dynamics 365 (with MR being replaced by Financial Reports).

    In terms of rolling my own, that seems more feasible having delved into the database... Not sure I can justify spending the time on this at work, but if I get some spare time & may knock something up out of hours and share on GitHub / link to it here.

    A very simple though slightly nasty workaround in the meantime would just to be to export all the database rows into their own XML files named Schema.Table.ID (e.g. Reporting.Report.1000) and track those; i.e. treating each row as if it were a code file.

    Thanks again,

    JB

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans