ABCS: Creating the Data Model

One of the powers of ABCS is that it generates a Data Model for you on the fly, based on your UI needs. For the developers, do not worry, you can also do this in an expert mode or edit and adjust it afterwards, more on that later in this blog series.
We are going to build a data model to hold all the data about the sessions being held on the Tech Conference.

This is as simple as selecting a table within the collection on the left hand side and dragging and dropping it to the middle section of the Tracks page.

As you can see this creates a default table to show you how it will look, but on the right we can create a new Business Object.

I choose to name the Business Object 'Tracks' because it is dedicated to the Tracks page.

After this I can start adding fields (or columns) to the table, when we do this the table will be automatically updated to show how it would look.

After pressing 'New Field', I create a Field 'Name' with text as Data Type.

This will result in the Tracks page being updated with a table with only one column, name:

After this I have added the fields; Company, Ace Level, co-speaker, Title & Track, if you press the Next icon ('>') in the Table Creation wizard you can turn on and off some of the default actions on the table. I leave the details option on and create the link on Title.

This means that you can click on the Title field within the row to go to a more detailed page. On the last page of the wizard you can select the Filter & Sort options. I decide to turn off the filter, but keep the advanced search on.

To end the wizard, I simple click the green Finish button on the top right in the wizard.

The designer gives me a feeling of how the table will look. To actually run the application you can press the run button on the top right corner within ABCS. This will show how the page would look runtime:

No comments:

Post a Comment