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 :
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
    237,795 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

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 > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 196 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans