cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot load Fragment in extended UI5 application

Former Member
0 Kudos

I'm trying to load a custom fragment in an extended controller of a UI5 application.

My fragment name is: ExpenseApproversCustom.fragment.xml, and when I try to load it I get the following:

Here is my controller code to load the fragment:

 this._expenseApprovers = sap.ui.xmlfragment(
                    "mytravelandexpense.TRV_TE_CREExtension.view.ExpenseApproversCustom",
                    this
                );
this.getView().addDependent(this._expenseApprovers);
Former Member
0 Kudos

Can you paste your bootstrap part from HTML ? Namespace :

mytravelandexpense.TRV_TE_CREExtension.view' 

is pointing to null somehow.

Accepted Solutions (0)

Answers (0)