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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

The fileUpload Strategy class you selected does not exist

(0) ShareShare
ReportReport
Posted on by 35

Hello,

There is one customized import CSV file tool developed in ax2012 which I want to use in d365. Code upgrade service tool has created XML for the class for d365.

I used the XML file for class in d365. When I browse the file, I get the error 'The FileUpload Strategy class you selected does not exist'. 

It would be helpful if anyone can suggest something. 

I will attach the class screenshot that show the code in dialog method for file name open control. Please note that this is runbasebatch framework.1614.IMG_5F00_20221114_5F00_190322667_7E00_2.jpg

Thanks, 

Pooja Rawat

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,047 Most Valuable Professional on at

    You should do something like this:

    FileUploadBuild dialogFileUpload;
    
    ...
    
    dialogFileUpload = dialogGrp2.addControlEx(classstr(FileUpload), 'FileUpload');
    dialogFileUpload.style(FileUploadStyle::MinimalWithFilename);
    dialogFileUpload.baseFileUploadStrategyClassName(classstr(FileUploadTemporaryStorageStrategy));
    dialogFileUpload.fileNameLabel("@SYS16423");

    An example can be seen in BudgetPlanLineMassUpdateDialog class, for instance.

  • Pooja Rawat Profile Picture
    35 on at

    Thanks.. this worked.

    But still curious to know that the file was generated by upgrade tool.  Is D365 not supporting FileNameOpen?

  • Pooja Rawat Profile Picture
    35 on at

    FileNameOpen, Filenamesave, Filepath and derived EDTs are deprecated in AX7. So we get this issue.

    Thank you for the help Martin.

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

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 81 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

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

#3
Sagar Suman Profile Picture

Sagar Suman 58 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans