Announcements
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.
Thanks,
Pooja Rawat
FileNameOpen, Filenamesave, Filepath and derived EDTs are deprecated in AX7. So we get this issue.
Thank you for the help Martin.
Thanks.. this worked.
But still curious to know that the file was generated by upgrade tool. Is D365 not supporting FileNameOpen?
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.
André Arnaud de Cal...
294,017
Super User 2025 Season 1
Martin Dráb
232,852
Most Valuable Professional
nmaenpaa
101,158
Moderator