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:
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:
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.
Thank you again for your time and I await any comments
Hi not Yet :(
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:
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:
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.
Thank you again for your time and I await any comments
[/quote]Hello, do you success to solve this problem? :)
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:
I have tried modifying the code as follows:
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
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.
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
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,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156