Models¶
A Skuid model is a container that calls and holds content (such as data) from an external system like a data source service. The model makes this content available to a Skuid page, giving components content to display. Models facilitate the passage of information between an external system and the page by defining:
- what content is available to the page
- how the content can be limited by conditions
- how the user can act on the content
Create a model, then configure a variety of settings:
- choose which fields to pull in from the object
- create model conditions to limit which records are loaded
- specify processes for model actions
With the exception of some layout components (Tab Set, Responsive Grid, Wrapper, etc.), all components can (and many must) be connected to a model, or the component will appear empty—devoid of data.
Models on Skuid’s Sample Pages¶
To explore how models are used, download then take a look at Skuid’s sample pages. (These pages use models connected to our Skuid OData-Demo data source.)
- SkuidSample_Products uses seven models on the OData Products, Categories, and Suppliers objects, plus one UI-only model.
- SkuidSample_Employees uses nine models on the OData Persons and PersonsDetails objects, plus a UI-only model.
- SkuidSample_Advertisements uses four models, one on the OData Products object, two on the OData Advertisements object, and one UI-only model.
- SkuidSample_Master uses a UI-only model.