I try to use FilePath EDT in Dynamics 365 F&O as a dialog field in Class to get folder location then i make a loop on CSV files on that folder
but unfortunately FilePath EDT Doesn't show Browse Button
can anyone help
Thanks Martin Dráb
You could simply use a text field where users would paste the path. Thinking about anything more complex would be a waste of time, if the whole thing is useless anyway.
hmm so could you please tell me the way to get the path even it's useless i need know how to achieve that for knowledge
You could get a path, such as "C:\Windows\Temp". But it would be useless to you, because you don't have access there. It doesn't even say on which computer it's located.
you mean it is impossible to get folder path ?
The requirement can be implemented - users can upload files to F&O, as mentioned above.
But your idea of accessing files on users' machines from X++ is not possible.
Hi Martin Dráb
business requirement is a button on a form that upload data via one or more CSV file located in Folder and insert into the table ..
i have a code takes a path of the folder for ex: ("C:\Windows\Temp" ) and then loop through all CSV files
so that i need to get folder path ---> ""C:\Windows\Temp"
Knowing the path on a local machine is not useful, because the web application can't access the files there. You'll need a different approach.
If you explain the business problem to us, we may be able to suggest a technical solution that actually can be implemented.
Hi Martin Dráb
i don't know exactly where the user will browse to choose folder location but maybe his local machine .. but what about the rest ?
It still depends on details that you didn't provide.
You said you want a folder path, but where is this folder located? On your local machine? On a VM in cloud? A shared drive in your network? In Azure File Storage? Or somewhere else?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156