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

Module

N/search 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/search Module Script Samples.

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

        

Related Topics

General Notices