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 :
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,811 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,811 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans