The example in the OpenSAP Training does not or no longer work: This part is not working: ```javascript onShareClick: function (oEvent) { var oExtensionApi = this.base.templateBaseExtension.getExtensionAPI(); ... ``` this.base is not accessible, or do I miss a step before? I suppose you need this instead? ```javascript sap.ui.define([ 'sap/ui/core/mvc/ControllerExtension', 'sap/suite/ui/generic/template/extensionAPI/extensionAPI', // ADD THIS ], function ( ControllerExtension, ExtensionAPI // ADD THIS ) { "use strict"; return ControllerExtension.extend("customer.my-app-id.enhanced.myController", { onShareClick: (oEvent) => { const oExtensionApi = ExtensionAPI.getExtensionAPI() // CHANGE THIS ```
The example in the OpenSAP Training does not or no longer work:
This part is not working:
this.base is not accessible, or do I miss a step before?
I suppose you need this instead?