@sap/generator-fiori
Version:
Create an SAPUI5 application using SAP Fiori elements or a freestyle approach
18 lines (16 loc) • 502 B
JavaScript
sap.ui.define(['sap/fe/test/ObjectPage'], function(ObjectPage) {
'use strict';
var CustomPageDefinitions = {
actions: {},
assertions: {}
};
return new ObjectPage(
{
appId: '<%- appID %>',
componentId: '<%- componentID %>',<% if (locals.contextPath) { %>
contextPath: '<%- contextPath %>'<% } else if (locals.entitySet) { %>
entitySet: '<%- entitySet %>'<% } %>
},
CustomPageDefinitions
);
});