Has anyone utilized google API library in Netsuite...
# suitescript
c
Has anyone utilized google API library in Netsuite server script? The library provided by Google is for Node and doesn’t appear to be AMD compatible. Wondering if there is a workaround to use it with Netsuite
v
There is plain javascript version of Google api library. So we can use it.
c
Could you share a link? You are able to import it similar to suitescript modules?
v
which library you're going to use?
c
Drive
v
d
We have a product called bluDocs that allows for drag-n-drop and file tagging directly to GDrive from the NetSuite records. We use the API directly for this purpose. We also support other 3rd party storage. https://shop.blubanyan.com/bluDocs-monthly
c
Thanks I will give that a try. That library might be for client side only though, not server side? It appers the script references window object
v
yeah
it's just for client side.
c
Ah okay. We we are trying to do it server side in UES
v
hmm...
b
api clients generally require you to at least overwrite how requests are made
the node ones use node related methods
the browser ones use browser related methods
neither are supported via suitescript