@jarens Were you ever able to get that to work, because its not working for me.
j
jarens
08/08/2018, 11:36 AM
@Azi, sorry didn't see this until now. Yes it will work. My best guess is that you don't have the image "Available without Login" checkbox checked. Go to the file and make sure that box is checked.
a
Azi
08/08/2018, 2:41 PM
@jarens I have the available without login checked and its still not working. You hardcode the url from image record or you get it from file.url? Because file.url doesn't give the full path
j
jarens
08/08/2018, 2:44 PM
Yeah, you would need to hardcode the url for how you are trying to do it. Normally for styled emails I create and load an email template though. That way, you define the body layout using the NetSuite UI.
jarens
08/08/2018, 2:45 PM
var email = file.load({
id : //Template ID
}).getContents()
a
Azi
08/09/2018, 9:28 PM
@jarens LOL! I just realized it wasn't working because my outlook is set to blocks images! Don't worry, I haven't been working on it so much