API Reference > imodeljs-frontend > Extensions > ExtensionAdmin > loadExtension loadExtension Method Loads an Extension using one of the available ExtensionLoaders that are registered on the ExtensionAdmin. If the Extension has already been loaded, Extension.onExecute will be called instead. loadExtension(extensionRoot: string, extensionVersion?: string, args?: string[]): Promise<undefined | Extension> Parameter Type Description extensionRoot string the root name of the Extension to be loaded from the web server. extensionVersion string the version of the Extension to be loaded args string[] arguments that will be passed to the Extension.onLoaded and Extension.onExecute methods. If the first argument is not the extension name, the extension name will be prepended to the args array. Returns - Promise<undefined | Extension> Promise that resolves to an Extension as soon as the extension has started loading. Note that this does not mean the extension is ready to use, see ExtensionAdmin.onExtensionLoaded instead. Defined in core/frontend/src/extension/ExtensionAdmin.ts Line 89 Last Updated: 11 June, 2024