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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 266 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans