---
title: Create a Template Module
description: "Create a Template Module  To create a new Template Module, access the Advanced Settings overview page and select the Edit Template Modules option in the left menu.  The Manage Template Module page is displayed:  Click on the plus icon to create a Template Module:"
---

[Skip to content](https://knowledge.bigenius-x.com/create-a-template-module#main-content)

[Contact us](https://knowledge.bigenius-x.com/kb-tickets/new?hsLang=en) [Go to Customer Portal](https://knowledge.bigenius-x.com/customer-portal?hsLang=en)

[![TRI\_Logo\_biGENIUS\_2020\_RGB\_s](https://knowledge.bigenius-x.com/hs-fs/hubfs/Marketing/TRI_Logo_biGENIUS_2020_RGB_s.png?width=150&height=42&name=TRI_Logo_biGENIUS_2020_RGB_s.png)](https://www.bigenius-x.com/)

Open main navigation

Close main navigation

- [Contact us](https://knowledge.bigenius-x.com/kb-tickets/new)
- [Go to Customer Portal](https://knowledge.bigenius-x.com/customer-portal)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [biGENIUS-X Knowledge Base](https://knowledge.bigenius-x.com/?hsLang=en)
2. [Application Modules](https://knowledge.bigenius-x.com/application-modules?hsLang=en)
3. [Project Settings](https://knowledge.bigenius-x.com/application-modules?hsLang=en#project-settings)

# Create a Template Module

### Create a Template Module

To create a new **Template Module**, access the [**Advanced Settings overview**](https://knowledge.bigenius-x.com/understand-advanced-settings-overview?hsLang=en) page and select the **Edit Template Modules** option in the left menu.

The **Manage Template Module** page is displayed:

![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Mar-10-2025-08-12-05-1370-AM.png?width=670&height=121&name=image-png-Mar-10-2025-08-12-05-1370-AM.png)

Click on the plus icon to create a Template Module:

![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Mar-10-2025-08-12-27-4781-AM.png?width=670&height=88&name=image-png-Mar-10-2025-08-12-27-4781-AM.png)

The **Create New Template** side panel window is opened:

 

![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Aug-26-2025-12-11-35-4450-PM.png?width=670&height=200&name=image-png-Aug-26-2025-12-11-35-4450-PM.png)

Fill in the following information:

1. **Template Type:** Select the Template Type. 
     1. You can choose to: 
            - **Add code before** the template
            - **Replace the template** (default)
            - **Add code after** the related template
          
        ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Aug-26-2025-12-14-48-2722-PM.png?width=413&height=231&name=image-png-Aug-26-2025-12-14-48-2722-PM.png)
2. **Model Object Type**: Template Model Object Type  
     1. Select the Model Object Type for which the Template will be applied:  
        ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Oct-16-2023-02-43-14-9416-PM.png?width=422&height=176&name=image-png-Oct-16-2023-02-43-14-9416-PM.png)
3. **Part per Model Object Type**: Depending on the selected Model Object Type, the list of its parts is displayed. 
     1. Select the Part for which the Template will be applied as follows, with Hub selected as Model Object Type:  
        ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Oct-16-2023-02-44-55-0872-PM.png?width=420&height=248&name=image-png-Oct-16-2023-02-44-55-0872-PM.png)
4. **Use for all future Model Objects**: if you check the box, the Template will be automatically applied for all future Model Objects of the Type defined in Step 2
5. **Model Objects list**: the list of Model Objects for the selected Model Object Type is displayed 
     1. Select the Model Objects to which the Template will be applied, as shown in the example (with **Hub** selected as the Model Object Type)  
        ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Oct-24-2023-12-12-36-6561-PM.png?width=435&height=179&name=image-png-Oct-24-2023-12-12-36-6561-PM.png)
     2. A search box allows you to filter the list of Model Objects.
6. **Editor**: The Template code should be written in C# within the method Write**Output(TargetObject targetObject,** *ITemplateContext templateContext)* 
     1. An IntelliSense editor (based on the Generator methods and classes) is available, for example:  
        ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Mar-10-2025-08-21-03-0816-AM.png?width=670&height=139&name=image-png-Mar-10-2025-08-21-03-0816-AM.png)
     2. Some code **snippets** are available by typing *bigenius*:  
         ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Mar-10-2025-08-21-29-5301-AM.png?width=670&height=153&name=image-png-Mar-10-2025-08-21-29-5301-AM.png)  
            1. Select a snippet, such as `"iterator through terms"`, and the corresponding code will be inserted.  
               ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Apr-28-2025-02-46-33-0146-PM.png?width=670&height=158&name=image-png-Apr-28-2025-02-46-33-0146-PM.png)
7. Click the **API Documentation** link to open the documentation and access guidance for developing a custom template.
8. Click the **Validate** button to compile the Template code. Any compilation errors or warnings will be displayed below the code.  
   ![](https://knowledge.bigenius-x.com/hs-fs/hubfs/image-png-Mar-10-2025-08-24-11-2842-AM.png?width=670&height=330&name=image-png-Mar-10-2025-08-24-11-2842-AM.png)
9. Blecting the **PREVIEW** tab, you can [preview the generation result of the Template Module](https://knowledge.bigenius-x.com/preview-a-template-module?hsLang=en)
10. By selecting the **ARCHITECTURE MODEL VIEW** tab, you can [display the Architecture Model for a Model Object in a Template Module ](https://knowledge.bigenius-x.com/display-the-architecture-model-for-a-model-object-in-a-template-module?hsLang=en)

A complete example of a Template Module can be found in the following article: [Avoid to load all data in development](https://knowledge.bigenius-x.com/avoid-to-load-all-data-in-development?hsLang=en).

Click on the **SAVE** button.

A notification confirms the correct creation:

![](https://knowledge.bigenius-x.com/hubfs/image-png-Oct-16-2023-02-59-19-5648-PM.png)

### Demonstration video

 

- [Getting started](https://knowledge.bigenius-x.com/getting-started?hsLang=en#main-content)

    - [Guidelines](https://knowledge.bigenius-x.com/getting-started?hsLang=en#guidelines)
    - [Start working](https://knowledge.bigenius-x.com/getting-started?hsLang=en#start-working)
    - [Account](https://knowledge.bigenius-x.com/getting-started?hsLang=en#account)
- [General overview](https://knowledge.bigenius-x.com/general-overview?hsLang=en)
- [Artificial Intelligence](https://knowledge.bigenius-x.com/artificial-intelligence?hsLang=en)
- [Application Modules](https://knowledge.bigenius-x.com/application-modules?hsLang=en#main-content)

    - [Administration](https://knowledge.bigenius-x.com/application-modules?hsLang=en#administration)
    - [Solutions](https://knowledge.bigenius-x.com/application-modules?hsLang=en#solutions)
    - [Global Features](https://knowledge.bigenius-x.com/application-modules?hsLang=en#global-features)
    - [Projects](https://knowledge.bigenius-x.com/application-modules?hsLang=en#projects)
    - [Branches](https://knowledge.bigenius-x.com/application-modules?hsLang=en#branches)
    - [Data Connections](https://knowledge.bigenius-x.com/application-modules?hsLang=en#data-connections)
    - [Dataflow Modeling - Overview](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-overview)
    - [Dataflow Modeling - Wizard Steps](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-wizard-steps)
    - [Dataflow Modeling - Terms](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-terms)
    - [Dataflow Modeling - Term Mapping](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-term-mapping)
    - [Dataflow Modeling - Relationships](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-relationships)
    - [Dataflow Modeling - Data Quality](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-data-quality)
    - [Dataflow Modeling - Indexes](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-indexes)
    - [Relationship Modeling](https://knowledge.bigenius-x.com/application-modules?hsLang=en#relationship-modeling)
    - [Generate Artifacts](https://knowledge.bigenius-x.com/application-modules?hsLang=en#generate-artifacts)
    - [Project Settings](https://knowledge.bigenius-x.com/application-modules?hsLang=en#project-settings)
    - [Data Marketplace](https://knowledge.bigenius-x.com/application-modules?hsLang=en#data-marketplace)
- [Generators](https://knowledge.bigenius-x.com/generators?hsLang=en#main-content)

    - [Fabric Warehouse](https://knowledge.bigenius-x.com/generators?hsLang=en#fabric-warehouse)
    - [Fabric Lakehouse](https://knowledge.bigenius-x.com/generators?hsLang=en#fabric-lakehouse)
    - [Databricks](https://knowledge.bigenius-x.com/generators?hsLang=en#databricks)
    - [Snowflake](https://knowledge.bigenius-x.com/generators?hsLang=en#snowflake)
    - [Microsoft SQL Server](https://knowledge.bigenius-x.com/generators?hsLang=en#microsoft-sql-server)
    - [Artifacts](https://knowledge.bigenius-x.com/generators?hsLang=en#artifacts)
    - [Replace Placeholders](https://knowledge.bigenius-x.com/generators?hsLang=en#replace-placeholders)
    - [Target solution environment](https://knowledge.bigenius-x.com/generators?hsLang=en#target-solution-environment)
    - [Deployment](https://knowledge.bigenius-x.com/generators?hsLang=en#deployment)
    - [Deployment with an Azuze DevOps pipeline](https://knowledge.bigenius-x.com/generators?hsLang=en#deployment-with-an-azuze-devops-pipeline)
    - [Delta Deployment](https://knowledge.bigenius-x.com/generators?hsLang=en#delta-deployment)
    - [Load control environment](https://knowledge.bigenius-x.com/generators?hsLang=en#load-control-environment)
    - [Load data with a native load control](https://knowledge.bigenius-x.com/generators?hsLang=en#load-data-with-a-native-load-control)
    - [Load data with Apache Airflow](https://knowledge.bigenius-x.com/generators?hsLang=en#load-data-with-apache-airflow)
    - [Model Object Type](https://knowledge.bigenius-x.com/generators?hsLang=en#model-object-type)
    - [Properties](https://knowledge.bigenius-x.com/generators?hsLang=en#properties)
    - [Default Terms](https://knowledge.bigenius-x.com/generators?hsLang=en#default-terms)
- [Discovery application](https://knowledge.bigenius-x.com/discovery-application?hsLang=en#main-content)

    - [Discovery configurations](https://knowledge.bigenius-x.com/discovery-application?hsLang=en#discovery-configurations)
- [Best practices](https://knowledge.bigenius-x.com/best-practices?hsLang=en#main-content)

    - [Modeling Approaches](https://knowledge.bigenius-x.com/best-practices?hsLang=en#modeling-approaches)
    - [Use Cases](https://knowledge.bigenius-x.com/best-practices?hsLang=en#use-cases)
    - [Business Rules](https://knowledge.bigenius-x.com/best-practices?hsLang=en#business-rules)
    - [Data Quality Rules](https://knowledge.bigenius-x.com/best-practices?hsLang=en#data-quality-rules)
- [FAQs](https://knowledge.bigenius-x.com/faqs?hsLang=en)
- [Product Release Notes](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#main-content)

    - [SaaS Application](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#saas-application)
    - [Discovery application](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#discovery-application)
    - [Generators](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#generators)
- [Legal Documents](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#main-content)

    - [Current legal docs](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#current-legal-docs)
    - [Software Product and Limits](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#software-product-and-limits)

- [Contact us](https://knowledge.bigenius-x.com/kb-tickets/new?hsLang=en)
- [Customer Portal](https://knowledge.bigenius-x.com/customer-portal)
- [Sign in](https://knowledge.bigenius-x.com/_hcms/mem/login)

[![biGENIUS logo](https://knowledge.bigenius-x.com/hubfs/TRI_Logo_biGENIUS_2020_RGB-1.svg "biGENIUS logo")](https://www.bigenius-x.com)

<https://www.linkedin.com/company/bigenius> <https://www.youtube.com/@biGENIUS_DWA>

All rights reserved © 2025, biGENIUS AG