Show / Hide Table of Contents

# Class TemplateBasedProjectCreateInfo

Encapsulates information required to create a server project from a project template.

##### Inheritance

Object
TemplateBasedProjectCreateInfo

##### Syntax

    public class TemplateBasedProjectCreateInfo

### Fields

#### Client

The client attribute of the project. Can be null and it will be taken into consideration if the template does not specify the client. It must be filled if the template refers to the client placeholder.

##### Declaration

    public string Client

##### Type

String

#### CreatorUser

The guid of the user creating the project. This user is automatically assigned to the project with ProjectManager role right after project creation. This ensures the there is a valid user assigned that has the permission to manipulate the projet from the memoQ Client. This has to be the guid of a valid, existing user.

##### Declaration

    public Guid CreatorUser

##### Type

Guid

#### Description

The description of the project. Can be null and it will be taken into consideration if the template does not specify the description.

##### Declaration

    public string Description

##### Type

String

#### Domain

The domain attribute of the project. Can be null and it will be taken into consideration if the template does not specify the domain. It must be filled if the template refers to the domain placeholder.

##### Declaration

    public string Domain

##### Type

String

#### Name

The name of the Project. Can be null or empty if the specified template contains the name of the project. The name can not contain characters that are invalid in file names (e.g.: ",:,/,,tab, ...).

##### Declaration

    public string Name

##### Type

String

#### Project

The project attribute of the project. Can be null and it will be taken into consideration if the template does not specify the project. It must be filled if the template refers to the project placeholder.

##### Declaration

    public string Project

##### Type

String

#### ProjectCreationAspects

The special aspects of the project creation. The currently supported aspects are the following:

- SkipUsersIfSourceLangHasBeenOverwritten: if present, then skip users of the template if the source language specified by the template has been overwritten.
- SkipUsersAssignedToRemovedTargetLangs: if present, then skip users assigned to target languages which were specified by the template but the target languages of the template has been overwritten and some of the assigned languages are missing.
- AllowAmbiguousTMNamingRules: if present, then ambiguous TM naming rules are allowed.

##### Declaration

    public string[] ProjectCreationAspects

##### Type

String[]

#### SourceLanguageCode

The three+(two) letter code of the source language of the server project (such as fre, eng, eng-US). Can be null if the template specifies the source language of the project. Overwrites the source language specified by the template if filled.

##### Declaration

    public string SourceLanguageCode

##### Type

String

#### Subject

The subject attribute of the project. Can be null and it will be taken into consideration if the template does not specify the subject. It must be filled if the template refers to the subject placeholder.

##### Declaration

    public string Subject

##### Type

String

#### TargetLanguageCodes

The array of the three+(two) letter codes of the target languages of the server project (such as fre, eng, eng-US). Can be null if the template specifies the target languages of the project. Overwrites the target languages specified by the template if filled.

##### Declaration

    public string[] TargetLanguageCodes

##### Type

String[]

#### TemplateGuid

The guid of the template to use.

##### Declaration

    public Guid TemplateGuid

##### Type

Guid