{ObjectIdentifier[]} Objects to add to the workspace.
{string} Object type where the workspace is created.
OptionaltargetObjectId: string{string} Object to add to the workspace. If undefined, a new object is created.
Optionalvisualization: Visualization{"summary" | "map" | "table" | "timeline" | "networkDiagram"} Visualization to initially display in the new workspace.
OptionalworkspaceName: string{string} Name of the new workspace.
OptionalnetworkData: NetworkData{NetworkData} Network visualization data to be copied to the new workspace.
{QueryBuilderModel} Query builder model.
A Promise containing the string representation of the query.
Optionalid: string{string} ID of the model to get. Defaults to SEARCH.
A query builder model.
{string} The selection ID for the currently selected objects. Default: "SEARCH".
{number} The maximum number of items to get in the selection. Default: 50.
{boolean} Boolean value to determine whether the current visualization is Text Analytics. Default: false.
{string} Text used to form the query.
{"summary" | "map" | "table"} Visualization to query for and then display to the user.
OptionalmapFilters: MapFilter[]{MapFilter[]} The map filter object to include with the search query. This can consist of MapBoundedPolygonFilter, MapRadiusFilter, MapBoundedBoxFilter, or MapShapeFilter.
OptionalqueryMode: QueryMode[]{"standard" | "phonetic" | "synonym"} Used to perform phonetic and synonym searches. Default: "standard".
{Uint8Array} Image to add.
{string} This is used in the content-type header when the file is uploaded. For example, 'image/png'.
Optionalheight: string{string} Height of the Insights cell.
Optionalwidth: string{string} Width of the Insights cell.
{Visualization} Visualization to display after the objects have been added.
{ObjectIdentifier[]} Objects to add to the workspace.
OptionalcurrentObject: ObjectIdentifier{ObjectIdentifier} The document the user is currently viewing. This is used as a visual aid in the dialog box.
OptionalnetworkData: NetworkData{NetworkData} Network visualization data to be copied to the workspace.
{string} Title of the dialog.
OptionalsubmitButtonText: string{string} Text for the dialog box submit button.
OptionalqueryModel: QueryBuilderModel{QueryBuilderModel} An existing query model that can be used to initially populate the query builder.
OptionalenforceObjectType: string{string} If enforceObjectType is set, the user cannot choose which entity to query. It is pre-set to the specified entity.
OptionalrestrictObjectTypes: string[]{Array
A Promise containing the result of the dialog box.
{SearchAndCreateDialogModel} Object containing entity and relationship data.
A Promise that resolves when the dialog box is closed.
{SearchDialogModel} Object containing entity and relationship data.
A Promise that resolves when the dialog box is closed.
{QueryBuilderModel} A query builder model.
Optionalid: string{string} ID of the model to set. Default: SEARCH.
SearchApi extension relates to functionality related to SAS Visual Investigator's search capabilities. These additional methods are available only in the SAS Visual Investigator Investigate and Search interface.
Accessed from the window at
window.sas.vi.search.Example