Modules
Objects/Functions
SuiteScript 2.0
{Form}.addPageLink({title: {string*},type: {string*},url: {string*}})
N/ui/serverWidget Module
Form.addPageLink()
Method Description:
Adds a link to a form.
You cannot choose where the page link appears.
Returns:
void
Supported Script Types:
SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Governance:
None
Module:
N/ui/serverWidget Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Form.addPageLink(options)
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_4338794048.html