Custom Views View
Custom Views allow you to create views in the UI for any entity that will show specified controls for the data the entity holds. These views will work automatically across all our multi-platform client applications. These views can be used in any custom layouts you make, or can also replace default system views with ones offering different features, controls, or information you want. As with all our auto-code designers you can configure the system using the designer or allow it to provide you with the full code for your design that you can then tailor to your desire, compile and add-in to the system.
Custom View Properties
Every Custom View has the following properties:
Name | Description |
---|---|
[Required] EntityType |
Indicates which entity you want to design a view for |
Load Dynamically * | This indicates the system will dynamically load your View into UI client applications immediately. The alternative is the designer can provide you the actual code for this view. You can incorporate that code in your own DLL and add that as an Add-In to the platform itself using our Add-In Modules. |
[Key] [Required] Name |
A friendly uniquely identifying name for this view |
Replace System View | Provides a list of other views in the system for this Entity Type. You can override any of those views with this Custom View. Whenever the system would load that view, if you've overridden it, then it will load this one instead. |
Max Width | Optional. Provides a maximum width the controls will take up. Even if the view itself is bigger than this width the controls will not be and will wrap, stack or otherwise conform to this max width. Mostly used when the panel type for the view is a Grid. |
Max Height | Optional. Provides a maximum height the controls will take up. Even if the view itself is bigger than this height the controls will not be and will wrap, stack or otherwise conform to this max height. Mostly used when the panel type for the view is a Grid. |
Description | A user friendly description of this view |
Tip
[*] Load Dynamically: If you set a view as Load Dynamically=true then the system will automatically load this view into the system. Unlike the Custom Entity designer this isn't changing anything in the back-end (the view is a UI component only) so you don't need to concern yourself if you create the same view in code and load it in as well as having this designed one. That isn't the case with Custom Entities.
Commands
Note
A custom view has the standard set of commands and functions when being viewed from a grid. See our standard grid functionality.
Tip
As well as our standard export/import capabilities, Custom Views can be exported and imported as packaged xml files to transfer configuration across systems. This is another area where you will want a shared Unique ID for your custom entity if the same databases are referenced from one web service. Again this is available from the grid commands.
When opened the Custom View view has the following custom commands:
- View Code see more:
This command will export the code for this Custom View to a c# file of your choosing. The code will contain the definition for your custom view and it's associated controls. - Alter Icon:
This enables you to specify a custom icon to be used by default throughout the system when referring to your custom view.
See our guide on Custom Images for further information.