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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Need to change the export to excel file name standard form

(0) ShareShare
ReportReport
Posted on by 570

Hi All,


In standard form top right we have option like EXPORT TO EXCEL


If we click data is export to excel like this : "Dimension_637618463893991879" 


Requirement is, need to print "Dimension_systemDate" example "Dimension-14072021


please see the below image

32806.PNG

32234057.PNG

I have the same question (0)
  • huijij Profile Picture
    19,813 on at

    Hi Tony,

    You can modify the filename in the method of closeDialog() of DocuFileSaveDialog class.

     void closeDialog(DocuFileSaveAction _action)
        {
            options.parmSaveAction(_action);
            //reset your filename
            options.parmFilename(xxxxx);
            if(_action == DocuFileSaveAction::Cancel)
            {
                this.closeCancel();
            }
            else 
            {
                if(_action == DocuFileSaveAction::Download)
                {
                    options.parmStorageLocation(null);
                }
                else
                {
                    DocuStorageLocationTemp tempLocation = DocuStorageLocationTemp_DS.cursor() as DocuStorageLocationTemp;
                    if(tempLocation)
                    {
                        DocuStorageLocation location = tempLocation.toLocation();
                        element.getMruLocations().save(location);
                        options.parmStorageLocation(location);
                        if(!options.parmFilename())
                        {
                            options.parmFilename(fileNameEntry.valueStr());
                        }
                    }
                }
    
                this.closeOk();
            }
        }

    regards

  • TonyAx Profile Picture
    570 on at

    Hi Judy,

    Thanks for the reply, there is no method closeDialog() in DocuFileSaveDialog class in D365Fo

    Could you please advice on this .

  • huijij Profile Picture
    19,813 on at

    Hi Tony,

    3718._5563B783_.PNG

    regards

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 698

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 698

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 567 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans