Skip to Content
0

XML Templating in SAPUI5 - Resource not found for offline app

Dec 22, 2016 at 01:10 PM

78

avatar image

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 :

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Dec 22, 2016 at 03:36 PM
0

did it work online?

Share
10 |10000 characters needed characters left characters exceeded
sandeep dash Dec 26, 2016 at 01:57 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Sandeep,

Can you please paste some screenshots..

Thanks,

Deepak Raj

0
Deepak Anumula Dec 26, 2016 at 03:33 PM
0

Hello Sandeep,

Can you please paste some screenshots..

Thanks,

Deepak Raj

Share
10 |10000 characters needed characters left characters exceeded