Skip to Content
avatar image
Former Member

Cannot load Fragment in extended UI5 application

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);
capture.png (8.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Can you paste your bootstrap part from HTML ? Namespace :

    mytravelandexpense.TRV_TE_CREExtension.view' 

    is pointing to null somehow.

  • Get RSS Feed

0 Answers