API Reference > imodeljs-backend > Elements > Subject > insert insert MethodStatic Insert a Subject insert(iModelDb: IModelDb, parentSubjectId: string, name: string, description?: string): string throws IModelError if there is a problem inserting the Subject Parameter Type Description iModelDb IModelDb Insert into this IModelDb parentSubjectId string The new Subject will be inserted as a child of this Subject name string The name (codeValue) of the Subject description string The optional description of the Subject Returns - string The Id of the newly inserted Subject Defined in core/backend/src/Element.ts Line 809 Last Updated: 11 June, 2024