2025 Mar 14 10:12 AM - edited 2025 Mar 14 10:21 AM
Hello,
I'm using typescript in my Fiori app and like to use EditFlow extension . I have a problem in initiating the EditFlow extension .
import ControllerExtension from "sap/ui/core/mvc/ControllerExtension";
import EditFlow from "sap/fe/core/controllerextensions/EditFlow";
import Controller from "sap/ui/core/mvc/Controller";
/**
* @namespace paltr.core.configsystemkind
*/
export default class SetSystemKindsTitlesCustomAction extends Controller {
private editFlow: EditFlow;
public onInit(): void {
this.editFlow = ControllerExtension.use(EditFlow);
}
....
}
I'm not using the Babel plugin, I'm using the ui5-tooling.transpile version 3.7.2 instead as described in the Fiori documentation section "Assigning controller extension" Using Controller Extension - Documentation - Demo Kit - SAPUI5 SDK
The mention "npm update" was executed.
My issue is ControllerExtension.use(EditFlow) throws the error "
Request clarification before answering.
I have used the EditFlow with TypeScript as the example below:
this.base.getExtensionAPI().getEditFlow()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.