Skip to Content
0
May 16, 2018 at 06:35 AM

How to load a fragment with xml templating?

684 Views

Hi ,

I have a xml fragment which has xml tempalte <template:with>... When i try to laod this tempalte in the controller using the sap.ui.xmlfragment() constructor it throws error that template.js is not found. How can I pre-process this fragment and load this fragment inside the controller?