Skip to Content
Former Member
Apr 25, 2014 at 11:54 PM

UI5 custom Control



I am new to SAPUI5 and am trying to develop a small mobile application.

I created a small on the fly custom control by following:

While trying to use it in my application, I simply created a folder called js and stored the code for the control in a JS file.

I am using XML as my base view creator, for mobile applications. When I tried to use the new control on the XML page, I get an error which says that the control could not be found. I have included src of the js file in the html page as well.

Am I doing something wrong or am I not doing something crucial to get the XML view to find the control?