In this exercise you'll create a new UI5 application based on a template provided by SAP Business Application Studio.
Your customer "Keep Cool, Inc." is an operator of several icehouses across the country. Recently, they have been upgraded with new sensors with Internet connection, so that their measuring values are available as a service. To make use of this data and improve their internal workflows, the company asked us to provide an application leveraging this sensor data, visualize it, and provide an overview of the current state of each sensor, so that they can react quickly on any issues.
After completing these steps you'll have created your first UI5 application.
-
Click on Create project from template on the Welcome page.
- [Optional] If you have closed the Welcome page accidentally, click in the header toolbar on View, and select Find Command... Enter SAP Business Application Studio: Welcome Page.
-
Enter the following settings in the Target Running Environment step:
- Select Cloud Foundry as target running environment.
- Select SAPUI5 Application as application template and click Next.
-
Choose the Standalone Approuter as your HTML 5 Applications Runtime and click Next.
-
Enter the following settings in the Basic Attributes step:
- Enter SensorManager as HTML5 module name.
- Choose No for authentication usage.
- Enter keepcool as your namespace.
- Choose Yes for Karma support and press Next.
-
Enter App as your view name, choose No for data service usage, and press Next.
-
The project is generated, and a notification window appears in the lower right corner. Click Open in New Workspace.
- [Optional] If you have closed the notification window accidentally, click File in the header toolbar, select Open Workspace and pick the generated project.
-
The newly created UI5 application is displayed in the File Explorer.
It's time for a first preview of your newly created application!
-
Click the ⊞ icon to add a new configuration to Run Configurations. After a short delay, a list pops up in the top center of your screen.
-
Specify your desired html site. Select index.html as the runnable file.
-
Enter Run TechEd2020-SensorManager as the name of your new run configuration.
-
A new configuration Run TechEd2020-SensorManager should appear on the left. Select the new configuration and click the green icon Run Module.
-
The application is initialized. After a few seconds, some notifications are displayed in the lower right corner. Click Expose and Open.
-
After a short delay, a popup for some optional input opens. Leave it empty and press Enter.
Hooray! You've successfully accomplished Exercise 1 - Project Setup using SAP Business Application Studio!
Continue to Exercise 2 - Basic UI5 Configuration and View Creation.