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 :
Small and medium business | Business Central, N...
Suggested Answer

How to save a file to a shared folder on the network Business Central

(0) ShareShare
ReportReport
Posted on by 131

Hello experts, first of all thank you very much for taking the time to read my question.

the issue is the following, create the following development in business central V17 on-Premise and it looks something like this:

pastedimage1676487884543v1.png

Which is responsible for generating a TXT file and generates it in a folder that I have created in "C:\Payments\" on my computer where Business Central is installed and the development works correctly, it generates something like this:

pastedimage1676488341619v3.png

My problem comes from the fact that they have told me that they require the file to be saved in a shared folder with the PC, which is a shared folder on the network and I don't know how to indicate the address in the code so that the document is saved there.

pastedimage1676489106748v4.png    

Thank you again for your time and I await any comments

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,544 Super User 2025 Season 2 on at

    Hi, In general, as long as you have access to that server, you can access it directly using the address you opened on windows.

    The following are discussion of writing and reading.

    https://forum.mibuso.com/discussion/72477/saveaspdf-on-network-drive

    https://forum.mibuso.com/discussion/69651/nav2016-nas-copy-read-file-from-network-drive

    Hope this can give you some hints.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,700 Moderator on at

    Hi,

    You can try to replace your C drive path with the Network path you mentioned, did it work? but you should permission to read and write to this path.

    Thanks.

  • Yael Suarez Profile Picture
    131 on at

    Hello, how are you? Thank you very much for taking the time to answer my question.

    Hello, how are you? Thank you very much for taking the time to answer my question.

    To enter the shared folder I press CTRL + R and I write the following and if it opens the shared network drive and it looks as follows:

    pastedimage1676585879040v1.png

    I have tried modifying the code as follows:

    pastedimage1676586053007v3.png

    And I really don't know what other path to put in the code to indicate that it is that folder

    What options would you recommend?

    Thanks again for your time

    greetings

  • Haris Korac Profile Picture
    142 on at
    [quote user="Yael Suarez"]

    Hello experts, first of all thank you very much for taking the time to read my question.

    the issue is the following, create the following development in business central V17 on-Premise and it looks something like this:

    pastedimage1676487884543v1.png

    Which is responsible for generating a TXT file and generates it in a folder that I have created in "C:\Payments\" on my computer where Business Central is installed and the development works correctly, it generates something like this:

    pastedimage1676488341619v3.png

    My problem comes from the fact that they have told me that they require the file to be saved in a shared folder with the PC, which is a shared folder on the network and I don't know how to indicate the address in the code so that the document is saved there.

    pastedimage1676489106748v4.png    

    Thank you again for your time and I await any comments

    [/quote]

    Hello, do you success to solve this problem? :)

  • Yael Suarez Profile Picture
    131 on at

    Hi not Yet :(

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans