Donwload Application https://mdocs.sap.com/mcm/public/v1/open?shr=dofdgMOS54kkJW04zEJOz21I59_wN4kddPC9VRFx5WE&obj=iwVq4zD5Ovgnl8K0zfY0AatMvXl69c98bjom622fpq8
UI5 Documentation https://sapui5.hana.ondemand.com/sdk/#content/Overview.html
UI5 mobile library explored https://sapui5.hana.ondemand.com/sdk/explored.html
UI5 icons explorer https://openui5.hana.ondemand.com/iconExplorer.html
BACKEND URL https://hcptrainingi845130trial.hanatrial.ondemand.com/SAPTaskTrackerBackEnd/rest/task
Access the HCP Cockpit > Subscriptions > webide > Click in the Application URL
- File > New > Project from Template > SAPUI5 Application Project
- Select the initial view to be XML and name it Tasks
- Open the file Tasks.view.xml
- Change the page title
- Add a List with a CustomListItem containing a CheckBox
- Add a footer with a toolbar and a button to add new tasks
- Right click on view folder > new > SAPUI5 View
- Name it TaskCreation and select view type XML
- Open the index.html > add an id pro the App > instantiate a new View and add it to the App
- Open the TaskCreation.view.xml > add a Label and an Input > Add a footer with a button
- Open the Tasks controller and implement the button press
- Open the TaskCreation view and add the back button to the page
- Open the TaskCreation controller and implement the back button press
- Go to the cockpit > destinations > new destination
- Fill the name field >Fill the URL field with your backend URL > Save
- In the webide, go to the neo-app.json and declare the destination
- Open the Tasks controller
- Declare a JSON model and the destination name
- Go to the onInit method > set the model data > set the model to the view
- Open the TaskCreation controller
- Implement the save button press to get the value of the input field
- Implement a function to make an ajax call to the backend in order to create a new Task
- Call the ajax function from the button press function, passing the input value