Hi !!!
I'm trying browse for a file using the File Management codeunit functions (Codeunit 419) but these functions use .NET variables 'Run on client' and this is a limitation in the web client.
How could i browse for a file in the web client?
Thanks in advance !!!!
*This post is locked for comments
Thanks Suresh !!! I'll check it
Jose, You can still use the FileManagement UploadFile function to upload but it gives the server file, there are few functions in the File Managment to check if it is Web Client or not or even to check if the client can run Dot Net or not. CanRunDotNetOnClient
Check codeunit 9170 for examples.
:(....
No native function for selecting only a folder in web client if I remember correctly.
Thanks Stefano, this works !!!!, This function loads the file to the server and from there you can select it ... but if I want to select a folder on the local computer. What could I use?
Thanks in advance again!!
You can use the Upload function:
[View:https://docs.microsoft.com/en-us/dynamics-nav/upload-function--file-]
Or FileManagement.UploadFile
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156