Modules

filter

 

Objects/Functions

module (N/url)

SuiteScript 2.0

url.resolveDomain(options)

{url}.resolveDomain({hostType: {string*},accountId: {string}})

N/url Module
url.resolveDomain()
Method Description: Returns a domain name for a NetSuite account.
Returns: string
Supported Script Types: Client and server scripts For more information, see SuiteScript 2.0 Script Types.
Governance: None
Module: N/url Module
Since: 2017.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=url.resolveDomain(options)

Example:

// Code Example 1
//Add additional code
//...
var output = url.resolveDomain({
hostType: url.HostType.APPLICATION,
accountId: '012345'
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4861456597.html