cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements extension fragment evnts

former_member761406
Discoverer

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

View Entire Topic
former_member761406
Discoverer

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()
            })
iperez-sofos
Participant
0 Kudos

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.