Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

Assistant.hideAddToShortcutsLink

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.hideAddToShortcutsLink for more information.

N/ui/serverWidget Module
Assistant.hideAddToShortcutsLink
Property Description: Whether to show or hide the Add to Shortcuts link that appears in the top-right corner of an assistant page. By default, the value is false, which means the Add to Shortcuts link is visible in the UI. If set to true, the Add To Shortcuts link is not visible on an Assistant page.
Type: boolean
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=Assistant.hideAddToShortcutsLink

Example:

// Code Example 1
//Add additional code
...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
assistant.hideAddToShortcutsLink = true;
//...
//Add additional code

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