Hi,
WinAPI::getOpenFileName is deprecated so what is alternative option in dynamics 365.
to get a image path in ax 7.
*This post is locked for comments
Hi,
WinAPI::getOpenFileName is deprecated so what is alternative option in dynamics 365.
to get a image path in ax 7.
*This post is locked for comments
D365 is hosted in Azure and WinApi is depricated. Basically you need to treat operations with files as if you were working with a web app against server app.
File upload/download is handled by new framework that can inside the browser:
docs.microsoft.com/.../file-upload-control
Here is an article about open file dialog and better examples for you to get the idea how to work with files in AX7
After files are placed in Azure storage, you should be able to use DocumentManagement framework to get public URI. (Or you can work with docuRef docuValue table directly)
Hi,
Please go throught the link which will be handy to read the data from excel using code in D365.
dynamicsaxgyan.wordpress.com/.../read-from-excel-using-x-code-ax7-d365-for-operations
Regards,
Tabsheer
André Arnaud de Cal...
292,923
Super User 2025 Season 1
Martin Dráb
231,788
Most Valuable Professional
nmaenpaa
101,156
Moderator