Join Slack
Powered by
Hello everyone, greetings. I would like to know ho...
# general
a
Alexander Cuadros
02/08/2024, 1:02 PM
Hello everyone, greetings. I would like to know how I can access a media file via script by adding it to an external link. I'm loading it from a Suitelet using the public URL (without login), but I'm encountering this console error.
scriptlet.nl:1
Access to XMLHttpRequest at '
https://7067352-sb1.app.netsuite.com/core/media/media.nl?id=15579&c=7067352_SB1&h=GyGcwcnLfnS9NWCfcjBji8Ttk2kbyhmRI7WnE&_xt=.cer
' from origin '
https://7067352
-
sb1.extforms.netsuite.com
' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
g
Gustavo Doná
02/15/2024, 8:10 AM
If you are using a suitelet why using an external link instead of loading the file using the N/file module directly on the suitelet?
12
Views
Open in Slack
Previous
Next