Use different approaches to automate communications in SuiteScript. Flashcards

1
Q

N/sftp can only be used in which type of script?

Client or server?

A

N/sftp can only be used in client scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the N/sftp module?

A

It allows you to manage folders and upload or download files from external SSH file transfer servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False?

NetSuite host their own SFTP servers for you to use freely with your license.

A

False.

SFTP servers are not provided by NetSuite, you must use SFTP servers that are hosted by your organisation or a third party

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SFTP transfers to and from NetSuite must originate from what?

A

They must originate from a SuiteScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

We must use what kind of key in order to establish SFTP connections?

A

We must use SSH keys.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the N/email module?

A

Send regular, bulk, and campaign emails from NetSuite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What script types can utilise the N/email module?

Client or Server?

A

Both Server and Client scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The use of promises is only possible in what kind of script?

Client or Server?

A

Promises can only be used in client scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What script types can utilise the N/http module?

Client or Server?

A

You can make HTTP calls from server or client scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False?

Both client and server side scripts can receive requests via the N/http module

A

False.

Only server scripts can receive requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False?

Only client scripts can make cross-domain HTTP requests using NetSuite servers as proxies

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False?

The N/http module does not accept HTTPS protocols.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What functionality does the N/https module provide?

A

It includes all the functionality of N/http, but does not accept HTTP protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False?

We can use the N/https module to encode binary values

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The N/https module can be used for communicating between SuiteScript scripts, RESTlets, and SuiteTalk REST APIs without having to do what?

A

Without needing to re-authenticate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What two modules are automatically loaded when using the N/https module?

A

The N/crypto and N/encode modules