insert MethodStatic
insert(txn, modelId, name)
Insert a SheetIndex
insert(txn: EditTxn, modelId: string, name: string): string
@returns The Id of the newly inserted SheetIndex
@throws IModelError if there is a problem inserting the SheetIndex
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | |
| modelId | string | The Id of the Model that contains the SheetIndex and provides the scope for its name. |
| name | string | The name (codeValue) of the SheetIndex |
Returns - string
The Id of the newly inserted SheetIndex
insert(iModelDb, modelId, name)
Deprecated Use SheetIndex.insert(txn, ...) instead.
insert(iModelDb: IModelDb, modelId: string, name: string): string
| Parameter | Type | Description |
|---|---|---|
| iModelDb | IModelDb | |
| modelId | string | |
| name | string |
Returns - string
Defined in
- backend/src/SheetIndex.ts Line 90
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.