Use different approaches to automate communications in SuiteScript. Flashcards
N/sftp can only be used in which type of script?
Client or server?
N/sftp can only be used in client scripts
What is the purpose of the N/sftp module?
It allows you to manage folders and upload or download files from external SSH file transfer servers
True or False?
NetSuite host their own SFTP servers for you to use freely with your license.
False.
SFTP servers are not provided by NetSuite, you must use SFTP servers that are hosted by your organisation or a third party
SFTP transfers to and from NetSuite must originate from what?
They must originate from a SuiteScript
We must use what kind of key in order to establish SFTP connections?
We must use SSH keys.
What is the purpose of the N/email module?
Send regular, bulk, and campaign emails from NetSuite
What script types can utilise the N/email module?
Client or Server?
Both Server and Client scripts
The use of promises is only possible in what kind of script?
Client or Server?
Promises can only be used in client scripts
What script types can utilise the N/http module?
Client or Server?
You can make HTTP calls from server or client scripts
True or False?
Both client and server side scripts can receive requests via the N/http module
False.
Only server scripts can receive requests
True or False?
Only client scripts can make cross-domain HTTP requests using NetSuite servers as proxies
True
True or False?
The N/http module does not accept HTTPS protocols.
True
What functionality does the N/https module provide?
It includes all the functionality of N/http, but does not accept HTTP protocol
True or False?
We can use the N/https module to encode binary values
True
The N/https module can be used for communicating between SuiteScript scripts, RESTlets, and SuiteTalk REST APIs without having to do what?
Without needing to re-authenticate