{ObjectIdentifier[]} Objects to add to the workspace.
{string} Object type where the workspace is created.
Optional
targetObjectId: string{string} Object to add to the workspace. If undefined, a new object is created.
Optional
visualization: Visualization{"summary" | "map" | "table" | "timeline" | "networkDiagram"} Visualization to initially display in the new workspace.
Optional
workspaceName: string{string} Name of the new workspace.
Optional
networkData: 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.
Optional
id: 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.
Optional
mapFilters: MapFilter[]{MapFilter[]} The map filter object to include with the search query. This can consist of MapBoundedPolygonFilter, MapRadiusFilter, MapBoundedBoxFilter or MapShapeFilter.
Optional
queryMode: 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'.
Optional
height: string{string} Height of the Insights cell.
Optional
width: string{string} Width of the Insights cell.
{Visualization} Visualization to display after the objects have been added.
{ObjectIdentifier[]} Objects to add to the workspace.
Optional
currentObject: ObjectIdentifier{ObjectIdentifier} The document the user is currently viewing. This is used as a visual aid in the dialog box.
Optional
networkData: NetworkData{NetworkData} Network visualization data to be copied to the workspace.
{string} Title of the dialog.
Optional
submitButtonText: string{string} Text for the dialog box submit button.
Optional
queryModel: QueryBuilderModel{QueryBuilderModel} An existing query model that can be used to initially populate the query builder.
Optional
enforceObjectType: string{string} If enforceObjectType is set, the user cannot choose which entity to query. It is pre-set to the specified entity.
Optional
restrictObjectTypes: string[]{Array
A Promise containing the result of the dialog box.
{SearchAndCreateDialogModel} Object containing entity and relationship data.
A Promise which resolves when the dialog box is closed.
{SearchDialogModel} Object containing entity and relationship data.
A Promise which resolves when the dialog box is closed.
{QueryBuilderModel} A query builder model.
Optional
id: string{string} ID of the model to set. Default: SEARCH.
SearchApi extension pertains 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