Steps to create a simple maintenance app are illustrated in the following video:
Build a contact app. To recap the steps in the video:
- Go to the repository browser, and create an application called
Contacts
- Within the repository browser under the application
Contacts
, create an analysis model calledContact Management
- In the model, create a stream called
Contacts
- Set the period of the stream to Transactional
- Add attributes to the stream:
UID
, with type = Integer
- Contact fields - for each of these, you can leave the settings as default (type = String, Length =
50
)Address1
Address2
City
PostCode
PhoneNumber
- Within the repository browser under the application
Contacts
, create a dashboard calledContacts
- Open the configuration form for the stream
Contacts
, and bring the new dashboard back to the front (you may need to use the grey menu bar at the bottom of the application to do this) - Drag the stream icon from the configuration form onto the dashboard, to create a Grid view
- Drag all attributes from the stream on to the header of the grid view
- Split the dashboard by adding a Horizontal Bar
- In the bottom pane, right click and select Create New Form
- Click on the pane (now you are actually clicking on the form, but it is currently empty) - in the form configuration form that pops up, enter the form name:
Contact Details
- Open the stream configuration: in the top pane, right click and select Show the Stream Configuration
- Drag all attributes from the stream into the lower half of the dashboard - for each one, an edit field will be created
- Create an add button:
- In the lower form, right click and select Open Palette → Basic Components
- From the palette, drag a button onto the form
- Called the button Add Contact
- wwefw