onExportRelationship Method

Override of IModelExportHandler.onExportRelationship that imports a relationship into the target iModel when it is exported from the source iModel. This override calls onTransformRelationship and then IModelImporter.importRelationship to update the target iModel.

onExportRelationship(sourceRelationship: Relationship, _isUpdate?: boolean, sourceFedGuid?: string, targetFedGuid?: string): Promise<void>

Parameter Type Description
sourceRelationship Relationship  
_isUpdate boolean  
sourceFedGuid string  
targetFedGuid string  

Returns - Promise

Defined in

Last Updated: 25 August, 2026