API Reference > imodeljs-frontend > Extensions > Extension > onExecute onExecute MethodAbstract Method called immediately following the call to onLoad when the Extension is first loaded, and also once for each additional call to ExtensionAdmin.loadExtension for the same Extension. onExecute(_args: string[]): Promise<void> Parameter Type Description _args string[] arguments that were passed to ExtensionAdmin.loadExtension. The first argument is the extension name. Returns - Promise<void> Defined in core/frontend/src/extension/Extension.ts Line 75 Last Updated: 12 June, 2024