I am trying to create a file based on an external ...
# suitescript
s
I am trying to create a file based on an external api's response according to them the response is a png
Copy code
var zplFile = file.create({
				name: "customerPrimar.png",
				fileType: file.Type.PNGIMAGE,
				contents: decode,
                 folder: 81708
												});