Skip to main content

Notifications

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

  • Pooja Rawat Profile Picture
    35 on at
    RE: The fileUpload Strategy class you selected does not exist

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

    Thank you for the help Martin.

  • Pooja Rawat Profile Picture
    35 on at
    RE: The fileUpload Strategy class you selected does not exist

    Thanks.. this worked.

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

  • Verified answer
    Martin Dráb Profile Picture
    232,852 Most Valuable Professional on at
    RE: The fileUpload Strategy class you selected does not exist

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,017 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,852 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans