Hi Guys, is there a way to download the file autom...
# suitescript
j
Hi Guys, is there a way to download the file automatically? or Is there an api to access the File Cabinet?
b
not really sure what you are asking
but in general the file api is N/file
and hopefully this is a suitelet where you can use ServerResponse.writeFile
j
is there way to access the file cabinet outside NS?
n
You can make files available without login and use the file's URL to access it. This does of course mean anyone that knows the url can also access the file. You probably want a SuiteLet or RESTlet depending on your use case that will either open the file for you or return the file content / file URL.