cancel
Showing results for 
Search instead for 
Did you mean: 

XML Templating in SAPUI5 - Resource not found for offline app

Former Member
0 Kudos

I am working on offline app. I have downloaded the resource folder. All library are mapped with offline resource folder. I am trying to use XML Templating on my app.

I am getting the following error. I have mentioned the xmlns:template in view.

XML View Code Snippets :

<core:View controllerName="glb.farms.mobile.controller.Questions" xmlns:core="sap.ui.core" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:custom="glb.farms.mobile.controls" xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1">

But I am getting the error mentioned below.

016-12-22 18:23:04.767274 Can't find object class 'http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1.if' for XML-view - XMLTemplateProcessor.js

As it is a offline app I am not using any online resource.

I need your help on this regards.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member203031
Contributor
0 Kudos

Hello Sandeep,

Can you please paste some screenshots..

Thanks,

Deepak Raj

Former Member
0 Kudos

No .. getting same error. I am trying to load resource from downloaded "resources" not taking directly from online.

former_member203031
Contributor
0 Kudos

Hello Sandeep,

Can you please paste some screenshots..

Thanks,

Deepak Raj

junwu
Active Contributor
0 Kudos

did it work online?