Skip to Content
avatar image
Former Member

XML Templating in SAPUI5 - Resource not found for offline app

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 22, 2016 at 03:36 PM

    did it work online?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2016 at 01:57 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 26, 2016 at 03:33 PM

    Hello Sandeep,

    Can you please paste some screenshots..

    Thanks,

    Deepak Raj

    Add comment
    10|10000 characters needed characters exceeded