Views Generated from DataModels

The Scaffolding template that generates Views from the DataModels directly, creates text boxes for entry fields and labels for display fields. It also creates check boxes for Boolean types by default. If a caption has been set for a field in System Modeler, then this information is used as a label for the field on the View, otherwise the field name is used as a label. Since there is no other presentation related information in the DataModels, the template does not create any other control types in the View when generating Views from the DataModels.

Copy.From items are created in an HTML table based on the CopyFromItems collection in the DataModel.

The HTML controls for the fields is created in the Razor View in the order in which they are defined by the DataModel. The View utilizes the Bootstrap CSS library to lay out the fields on the page. The View can now be customized to reflect the desired styling for your website.

This might involve