Search.searchType
Property Description |
Internal ID name of the record type on which a search is based. Use this if you have the internal ID of the search, but do not know the record type the search was based on. For example, if the search was on a Customer record, this property is |
Type |
string (read-only) |
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'
});
log.debug({
title: 'record type: ',
details: mySearch.searchType
});
...
//Add additional code