Template Center Overview¶
The Template Center of DTV is where application developers store and manage the templates of Dashboard, Single-Page Applications, and widgets. It provides storage space and unified management for both configuration templates and runtime templates, enabling efficient conversion between templates and instances.
Core Functions¶
DTV’s Template Center provides:
- Unified Template Management - Page template management: create, edit, and delete templates of Dashboards and Single-Page Applications, to enable quick building of new pages and synchronization of updated configurations across existing pages. 
- Widget template management: view, edit, and delete widget templates, and update all relevant instances in batch. 
- Unified storage and management: unified control of the entire lifecycle of templates, including configuration templates created by developers and runtime templates saved by users. 
 
- Hierarchical Permission Management - Group-based permission control: manage access to templates using groups and folders. 
- Flexible adjustment: move templates across groups and folders, adapting to changes in organizational structure and business requirements. 
 
- Template-Instance Conversion and Reuse - Easy conversion: save an existing page as a template or create a new page from an existing template. 
- Quick use: create widgets or pages from templates with all configurations ready. 
- Smart synchronization: synchronize template updates across Dashboard and Single-Page Application pages to ensure a consistent and up-to-date user experience. 
 
- Update Strategy Control - Widget batch update: set visibility and applicability rules for widget templates. Push changes with one click to batch update all related instances. 
- Flexible adjustment: unlink an instance from its template to stop receiving subsequent template updates. 
 
Template Types¶
Templates are reusable, pre-designed components that enable rapid creation of visual pages with consistent styling and full functionality. DTV has two template types:
- Widget template: a reusable widget (container or chart) and its configurations. Widget templates improve development efficiency by reducing repetitive configuration. 
- Page template: a reusable template of a ready-to-use page, including: - Dashboard template: a pre-configured dashboard page with layout, widgets, and data configurations ready. Dashboard templates are primarily used to quickly build data monitoring and analyzing applications. 
- Single-page application template: a comprehensive content framework featuring multi-page integration, navigators, and linkages, designed for building complex, integrated business workspace. 
 
DTV Templates streamline development and lower the skill barrier, allowing developers to jump-start projects and build consistent, fully-functional visual applications from scratch.