Notifications
Announcements
No record found.
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,
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
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
community.dynamics.com/.../how-to-work-with-files-in-ax-7-part-1-upload-download-read-and-store-files-in-db
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)
WinAPI is deprecated . Look at this post
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Priya_K 4
Martin Dráb 4 Most Valuable Professional
Ali Zaidi 2