2024 Jun 27 1:47 PM - edited 2024 Jun 27 1:53 PM
Hi, So recently i was trying to play around with the feature capabilities of SAP Fiori Tools in BAS (Guided Development).
My goal was to add a custom button on the table toolbar of a Fiori Elements List Report App, which pops up a dialog box containing a file uploader control and two buttons of 'ok' and 'cancel'.To achieve it i followed the following steps : -
1. Created a custom action button named 'Upload Excel' using guided development.
2. Created an xml fragment file with a simple dialog and a fileuploader and invoked it from the extended controller.
And this is how it looks when we click on the 'Upload Excel' Button.
Now the problem is that my neither my endbutton(cancel) or begin button (upload) is working.
For example in this case, if I click on cancel, it should trigger the '
Request clarification before answering.
Better alternative is https://spreadsheet-importer.com/
Here is the documentation for Fiori elements:
https://docs.spreadsheet-importer.com/pages/GettingStarted/#starting-with-fiori-elements-odata-v4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
From Console to check if any "event handler not found" messages appear when you click 'Begin' or 'Cancel'
In the extended controller, hope mapping is correctly in place:-
async onOpenDialog() {
this.oDialog ??= await this.loadFragment({
name: "ui5.walkthrough.view.HelloDialog"
});
this.oDialog.open();
},
onCloseDialog() {
// note: We don't need to chain to the pDialog promise, since this event-handler
// is only called from within the loaded dialog itself.
this.byId("helloDialog").close();
}
Please refer: Walkthrough - Step 17 - Fragment Callbacks - Samples - Demo Kit - SAPUI5 SDK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
11 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.