Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Uncaught Error: resource view/View1.view.xml could not be loaded from ./view/View1.view.xml. Check for 'file not found' or parse errors. Reason: Error: Invalid XML error in WEB IDE

Hi Experts,

I was developing an bullet with gap diagram refering to this link.

SAPUI5 Explored

I created an XML view and pasted this code in content of Page.

                                                <ScrollContainer focusable="true" height="100%" horizontal="false" vertical="true" width="100%">

                                                                <viz:Popover id="idPopOver"></viz:Popover>

                                                                <VBox>

                                                                                <RadioButton groupName="group1" id="idRadio4" selected="true" text="Horizontal"/>

                                                                                <RadioButton groupName="group1" id="idRadio5" text="Vertical"/>

                                                                </VBox>

                                                                <viz:VizFrame height="500px" id="idVizFrameBullet" uiConfig="{applicationSet:'fiori'}" vizType="bullet" width="100%"></viz:VizFrame>

                                                                <VBox>

                                                                                <RadioButton groupName="group2" id="idRadio1" text="above only"/>

                                                                                <RadioButton groupName="group2" id="idRadio2" text="below only"/>

                                                                                <RadioButton groupName="group2" id="idRadio3" selected="true" text="both"/>

                                                                </VBox>

                                                </ScrollContainer>

But i didn't get my output.

This was error in console.

Please help.

Thank you.

Former Member
replied

Did you wrote this in your view.

xmlns:viz="sap.viz.ui5.controls"

<mvc:View height="100%" width="100%"

controllerName="sap.viz.sample.Bullet.Bullet"                // here your controller name

  xmlns:viz="sap.viz.ui5.controls" // include this library

xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m">

Follow these links. This might be helpful a lot in your case.

http://scn.sap.com/thread/3762697

http://scn.sap.com/thread/3759157

http://scn.sap.com/thread/3760756

http://scn.sap.com/thread/3764209

http://scn.sap.com/thread/3764210

Regards

Dhananjay

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question