web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

WEB CLIENT Browsing for a file

(0) ShareShare
ReportReport
Posted on by 90

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

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    You can use the Upload function:

    [View:https://docs.microsoft.com/en-us/dynamics-nav/upload-function--file-]

    Or FileManagement.UploadFile

  • Jose Manuel Sola Profile Picture
    90 on at

    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!!

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    No native function for selecting only a folder in web client if I remember correctly.

  • Jose Manuel Sola Profile Picture
    90 on at

    :(....

  • Verified answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    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.

  • Jose Manuel Sola Profile Picture
    90 on at

    Thanks Suresh !!! I'll check it

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans