# DocumentNameTemplate Constructor

## Overloads

| [DocumentNameTemplate(DocumentNameTemplate.eNameTemplateType, String)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm#PIX_DocumentNameTemplate__ctor_PIX_DocumentNameTemplate_eNameTemplateType_System_String_) |  |  |
| --- | --- | --- |
| [DocumentNameTemplate(String, String)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm#PIX_DocumentNameTemplate__ctor_System_String_System_String_) |  |  |
| [DocumentNameTemplate(String)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm#PIX_DocumentNameTemplate__ctor_System_String_) |  | Contructor that populates Type and Value from a string starting and ending with "%" |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm)

## DocumentNameTemplate(DocumentNameTemplate.eNameTemplateType, String)

### Declaration

```

          public DocumentNameTemplate(DocumentNameTemplate.eNameTemplateType iType, string iValue)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [DocumentNameTemplate.eNameTemplateType](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.eNameTemplateType.htm) | iType |  |
| System.String | iValue |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm)

## DocumentNameTemplate(String, String)

### Declaration

```

          public DocumentNameTemplate(string iType, string iValue)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | iType |  |
| System.String | iValue |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.DocumentNameTemplate.-ctor.htm)

## DocumentNameTemplate(String)

Contructor that populates Type and Value from a string starting and ending with "%"

### Declaration

```
public DocumentNameTemplate(string iTemplateString)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | iTemplateString |  |