Skip to Content

View.js UI5 v1.30

Could somebody tell me, how the js-view (template) will look like with the new UI5 v1.30, to call the controller. There are only examples for the xml-view, but not for the js-view.

Example: old

How this would look like with v1.30?

sap.ui.jsview("test.test", {
  getControllerName : function() {
  return "test.test";

  createContent : function(oController) {
  return new sap.m.Page({
  title: "Title",
  content: [ 


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 16, 2015 at 01:02 PM

    Hi Dirk,

    When I created a SAPUI5 application in webide, which points to 1.30 V.

    The Structure of the project is some how different compare to prev version.

    It has a separate folder for view and controller, as well as it is automatically creating component.js.


    Karthik A

    Add comment
    10|10000 characters needed characters exceeded

    • You gave me the right idea to look for the definitions of the new 1.3 ui5. thanks!

      I was also looking to my webide cloud user.

      It seems that I don't need to migrate my old js.views with the new controller-definition. (sap.ui.define). It should work either.