Estimated time: 30 min.
In this tutorial you will learn:
...
Select your form layout in the property tree, for example global/app/myapp42/form/person and switch to content edit mode.
Replace the content of the property by the content below and click SAVE (Replace
myapp42
in the content below in “schema” and “output” line with the name of the app you would like to create the form for. Do use only lower case letters and don’t use special characters or spaces!):Code Block language json { "title": "Add person", "description": "Add a new person", "schema": "property.list?filter=global/app/myapp42/object/person/v1/schema", "output": "global/app/myapp42/object/person/v1/instance/%23%7Bvar.property.uuid%7D", "layout": { "orientation": "vertical", "items": [ { "orientation": "horizontal", "items": [ { "field": "firstName" }, { "field": "lastName" }] }, { "field": "age" }, { "field": "gender" }, { "field": "birthDate" } ] } }
Navigate to
All Apps
and select your appNow you should see that the “person” tile has changed to “Add person” + description. Click it.
Here you can see the changed layout:
firstName
andlastName
is now in the same line (horizontal) and all other fields are vertical:You can learn more about form layouts and orientation in PIPEFORCE here: Form - Orientation : https://logabit.atlassian.net/wiki/spaces/DEVEX/pages/1010991217 and if you would like to change color or designs of the form fields, have a look here: Form - Look & Feel : https://logabit.atlassian.net/wiki/spaces/DEVEX/pages/1011089441 . More details about the adaptation of the form schema, you will find here: https://logabit.atlassian.net/l/c/7NdsFNrA
Try out your form and add some new person data sets. In the next tutorial you will learn how to display them in a list.
...