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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Report name output as dynamic

(0) ShareShare
ReportReport
Posted on by

hi 

i am new to Dynamics AX 2012 , i need the report output name should have include parameter and report with timestampe.

its possible , 

thanks 

kumar

*This post is locked for comments

I have the same question (0)
  • Vilmos Kintera Profile Picture
    46,149 on at

    Can you please rephrase your questions? It is very difficult to understand what you want. Maybe provide a design example as well?

  • Community Member Profile Picture
    on at

    hi Vilmos,

    can you guide me how can i achieve my above query

  • Community Member Profile Picture
    on at

    when we try to save the report in excel / pdf format - the output name should have report+timestampe +any parameter used for selecting the query while generating the report.

    for eg: parameter  are item code , start date and end date , file name should show as "abc1 item detail as on 01022017 "

  • Community Member Profile Picture
    on at

    Hi Kumar Rao,

        You are using DP class for your report or only using Query?

        Which design your using for your report?

    Thanks

    Suresh

  • Martin Dráb Profile Picture
    239,035 Most Valuable Professional on at

    Create a text box and set the expression as you need. SSRS will even offer you both parameters and common functions in GUI.

    Parameters:

    report-functions.png

    Functions:

    report-functions.png

  • Martin Dráb Profile Picture
    239,035 Most Valuable Professional on at

    Ah, sorry, I've got what you mean. You want to set the file name from code, based on some variables. When you talk about parameters, do you mean values from data contracts?

    My blog post Printing reports from code in AX2012 shows how set the file name from code, now you just have to construct the name you want.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    If you want to rename the file as per the information in your data contract, you have to hook in somehow to change the PrintJobSettings of the report controller after the SSRS dialog has been closed. Most likely you could try this by overriding dialogPostRun(), to construct your filename and dump it in the printjobsettings there.

  • Community Member Profile Picture
    on at

    we are  use DP class

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans