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.x Suitelet Script Type

Module

N/ui/serverWidget Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/ui/serverWidget Module Script Samples.

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

        

Related Topics

General Notices