In the seventh and final step of this getting started tutorial, we will create an app template, upload it into the App Cloud Studio, and see how easy it is to create and customize an app from the template.
Make sure you have completed the set-up steps described in the tutorial introduction. The files for Step 7 should now be in {your-web-server-root}/documentation/getting-started/step7/
An App Cloud template is a zip file. It consists of:
manifest.json and must be at the root level of the template zip.app-cloud-sdk.js, the App Cloud JavaScript library, and any other code used by your app.For the Hello World app, all these files can be found in {your-web-server-root}/documentation/getting-started/step7/. Create the Hello World app template by creating a zip file from all the files in that folder.
By using templates, App Cloud enables you to take the development work you do to create a single template and re-use it for multiple apps that have a similar structure, but different looks and contents. Using a template also enables you to change the look and content of your app even after it's published. In Step 6, we added configurations to the template that expose configurable options for the app in the Studio.
Next, load the template into the App Cloud Studio:
Next, create an app from the template:
Now you can see how the data, settings, and styles entries from the template manifest expose configuration in the App Cloud Studio:
hola mundo. You can now change that text to whatever you want. Hello world!, for example.Read more about template manifests and configuration:
This has been a simple tutorial to introduce you to the basics of creating an app with App Cloud. To continue learning about App Cloud: