Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Search.isPublic

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

N/search Module
Search.isPublic
Property Description: Value is true if the search is public, or false if it is not. By default, all searches created through search.create(options) are private.
Type: boolean
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Search.isPublic

Example:

// Code Example 1
//Add additional code
//...
var mySearch = search.load({
id: 'customsearch_my_so_search'
});
mySearch.isPublic = true;
//...
//Add additional code

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