Modules
Objects/Functions
SuiteScript 2.0
serverWidget.FormPageLinkType.{|BREADCRUMB,CROSSLINK|}
N/ui/serverWidget Module
serverWidget.FormPageLinkType
Enum Description:
Holds the string values for supported page link types on a form. This enum is used to set the value of the type parameter when Form.addPageLink(options) is called.
JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
Supported Script Types:
SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Module:
N/ui/serverWidget Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=serverWidget.FormPageLinkType
Example:
// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
form.addPageLink({
type : serverWidget.FormPageLinkType.CROSSLINK,
title : 'NetSuite',
url : 'http://www.netsuite.com'
})
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4332671075.html