In NS file cabinet , I have folder full of image ...
# suitescript
s
In NS file cabinet , I have folder full of image files Every image is unchecked with the available without login check box . I could not render any of those images in adv pdf template. How do I make it checked ? Any suggestions?
Is there way to script those image files to make that field enabled ? Or Is there a better way doing that ?
t
You can try this under File module
Copy code
var fileObj = file.load({
    id: 'Images/myImageFile.jpg'
});
fileObj.isOnline = true;
var fileId = fileObj.save();
1