on 08-11-2021 8:09 AM
Hi All,
I implemented a custom Fiori Elements app built on top RAP, I have extended my app and I need to show fragment(its UI fragment , not RAP Action based fragment) but the problem I am facing fragment button events are not reachable to ListReportExt.controller.js action events.
Any help much appreciated
Thanks
R
HI All,
Its resolved my self, fragment should load in below way with event binding
// if (!this._oDialog) {
this._oDialog = Fragment.load({
name: "com.pidpa.zlacclientinformation.ext.fragments.AddComments",
controller: this
}).then(function (e) {
that._oDialog = e;
that.getView().addDependent(e);
e.open()
})
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Regards, Rajesh Kelam.
I currently have a very similar problem to the one you describe in your post.
I would like to ask a couple of things about your solution:
1. What/who is "that" is the .then() function?
2. Could you share your manifest.json file (or the part where the extension is configured). I have problems there, and I don't know exactly what I could be doing wrong.
Thank you very much in advance.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
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.