redirect.toSearchResult(options)
The content in this help topic pertains to SuiteScript 2.0.
Method Description |
Redirects a user to a search results page. For example, the results from an on demand search created with the N/search Module, or a loaded search that you modified but did not save. |
Returns |
void |
Supported Script Types |
afterSubmit user event scripts For more information, see SuiteScript 2.x User Event Script Type. |
Governance |
None |
Module |
|
Since |
2015.2 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
required |
The search result to be redirected to. |