API Reference > imodeljs-backend > ElementAspects > ElementAspect > onInsert onInsert MethodProtectedStatic Beta Called before a new ElementAspect is inserted. onInsert(_arg: OnAspectPropsArg): void note throw an exception to disallow the insert note If you override this method, you must call super. Parameter Type Description _arg OnAspectPropsArg Returns - void Defined in core/backend/src/ElementAspect.ts Line 65 Last Updated: 12 June, 2024