Does anyone know for certain: does the Google Maps...
# suitescript
m
Does anyone know for certain: does the Google Maps API have to be in a ClientScript to work in a Suitelet? I think it does, but wanted to ask here. Thanks!
g
I think it’s a yes
👍 1
m
yea, i think so too
b
It does not need to be in clientscript. I just tested and works fine sending it via HTML without form object. Check your console, see if you notice any errors. Ask an AI to troubleshoot.
@Melissa I did need to enable the Maps JS API in my project in order for it to work, the console was complaining about it
m
I definitely have it enabled. But I couldn't get it to work in a Suitelet with just a normal JS file. I have it working from a Client Script now. I was asking because of the way I built the Suitelet (from an HTML link) made setting the Client script impossible. I ended up have to use the ui.createForm() instead of the HTML link so that I could get the Client Script in. And I just ended up writing the HTML from the link on my own in NS