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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Business Central 22 On-Prem - How to select a folder path, not a file

(1) ShareShare
ReportReport
Posted on by 2
I am looking for a way to browse to and select a folder for a setup window on BC22 On-Prem.
 
The legacy code used dotnet System.Windows.Forms, but this is no longer an option in BC22 dev.
 
We are able to use the below code for selecting a specific file, but not able to select a folder (where file drops will be picked up from)
 
 
                        FileDialogSelection := FileMgt.UploadFile(Text001, /Definition Import Path/);
 
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    89,835 Super User 2025 Season 2 on at
    Business Central 22 On-Prem - How to select a folder path, not a file

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans