Skip to Content
0
May 28, 2020 at 12:16 PM

SAPUI5 Custom Control

101 Views

I have my custom control "jbfeedback.js". Now I have a folder named "control" and in View.xml I use it

mvc:View controllerName="jbfeedback.FeedbackComponent.controller.View1" xmlns:mvc="sap.ui.core.mvc" xmlns:jbf="jbfeedback.FeedbackComponent.control" displayBlock="true" xmlns="sap.m"> <Shell id="shell"> <App id="app"> <pages> <Page id="page" title="{i18n>title}"> <content> <jbf:jbfeedback id="field" path="/vFeedbacks" /> </content> </Page> </pages> </App> </Shell> </mvc:View>

I've put this jbfeedback.js file into backend. So, how can I call and use this js-file in view.xml?