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)

Get current report name from data provider.

(0) ShareShare
ReportReport
Posted on by

Hello,

How can I get the report name from data provider.

When I have sub-report that is ran from main-report, I want to get the name of current sub report (when it is running).

Thanks :)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mallika Roy Profile Picture
    552 on at

    Hi Eitan,

    Use the report controller class -> preRunModifyContract() to pass the report name to contract class. Using data provider class store the name in the temporary table to get it when it is running.

    Hope this works for you.

  • Community Member Profile Picture
    on at

    Dear Eitan,

    you can get it through Menu Item...

    from there you can get details about ur required item/report.

    hope you will get it ..thanks

    hassan

  • Community Member Profile Picture
    on at

    I need to know the name of the sub report - not the name of the main report (that the subreport is in it).

    The srsReportRunController class is run only once, when I run the main report.

    The dataprovider class is running twice (first time for main report and second time for sub-report), so I need resolving the sub-report name from the dataprovider class.

    Thanks :)

  • Community Member Profile Picture
    on at

    u can also open the main report in visual studio and from there u can see the sub report name as well.

  • Community Member Profile Picture
    on at

    I want to see in runtime - not in design time

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