Configuring a dataset code component in a model-driven app
A dataset code component can be configured on various visualizations, such as a view, sub-grid, or a dashboard. Each of them has a different configuration process. First, we will look how to add a code component to a specific view of a table.
Adding a code component to a specific view of a table
A table can contain multiple views, and the application provides us with a way to set different visualizations using code components on different views of a table. This enhances the usability of the application. For example, you can have a calendar control on one view and a card control on another view for the same table.
The following steps will change the visualization of the My Active Contact view on the Contact table to a card view using the MyDataCard code component, which is of the dataset type, that we created in Chapter 5, Code, Test, and Repeat:
- Navigate to Settings > Customization. Click Customize the System...