Table of Contents

Class SfEmailTemplate

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Email Template

SObject Name: EmailTemplate

Custom Object: False

public class SfEmailTemplate : SObject
Inheritance
SfEmailTemplate
Inherited Members

Properties

ApiVersion

API Version

Name: ApiVersion

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "apiVersion")]
public double? ApiVersion { get; set; }

Property Value

double?

Body

Email Body

Name: Body

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "body")]
public string Body { get; set; }

Property Value

string

BrandTemplateId

Letterhead ID

Name: BrandTemplateId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "brandTemplateId")]
public string BrandTemplateId { get; set; }

Property Value

string

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

Description

Description

Name: Description

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

Property Value

string

DeveloperName

Template Unique Name

Name: DeveloperName

SF Type: string

Nillable: False

[JsonProperty(PropertyName = "developerName")]
public string DeveloperName { get; set; }

Property Value

string

Encoding

Encoding

Name: Encoding

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "encoding")]
public string Encoding { get; set; }

Property Value

string

EnhancedLetterhead

ReferenceTo: EnhancedLetterhead

RelationshipName: EnhancedLetterhead

[JsonProperty(PropertyName = "enhancedLetterhead")]
[Updateable(false)]
[Createable(false)]
public SfEnhancedLetterhead EnhancedLetterhead { get; set; }

Property Value

SfEnhancedLetterhead

EnhancedLetterheadId

Enhanced Letterhead ID

Name: EnhancedLetterheadId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "enhancedLetterheadId")]
public string EnhancedLetterheadId { get; set; }

Property Value

string

FolderId

Folder ID

Name: FolderId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "folderId")]
public string FolderId { get; set; }

Property Value

string

FolderName

Folder Name

Name: FolderName

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "folderName")]
[Updateable(false)]
[Createable(false)]
public string FolderName { get; set; }

Property Value

string

HtmlValue

HTML Value

Name: HtmlValue

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "htmlValue")]
public string HtmlValue { get; set; }

Property Value

string

Id

Email Template ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

IsActive

Available For Use

Name: IsActive

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isActive")]
public bool? IsActive { get; set; }

Property Value

bool?

IsBuilderContent

Made in Email Template Builder

Name: IsBuilderContent

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isBuilderContent")]
[Updateable(false)]
[Createable(false)]
public bool? IsBuilderContent { get; set; }

Property Value

bool?

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false)]
[Createable(false)]
public string LastModifiedById { get; set; }

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }

Property Value

DateTimeOffset?

LastUsedDate

Last Used Date

Name: LastUsedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastUsedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastUsedDate { get; set; }

Property Value

DateTimeOffset?

Markup

Markup

Name: Markup

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "markup")]
public string Markup { get; set; }

Property Value

string

Name

Email Template Name

Name: Name

SF Type: string

Nillable: False

[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

Property Value

string

NamespacePrefix

Namespace Prefix

Name: NamespacePrefix

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "namespacePrefix")]
[Updateable(false)]
[Createable(false)]
public string NamespacePrefix { get; set; }

Property Value

string

Owner

ReferenceTo: User

RelationshipName: Owner

[JsonProperty(PropertyName = "owner")]
[Updateable(false)]
[Createable(false)]
public SfUser Owner { get; set; }

Property Value

SfUser

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }

Property Value

string

RelatedEntityType

Custom Object Definition ID

Name: RelatedEntityType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "relatedEntityType")]
public string RelatedEntityType { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

Subject

Subject

Name: Subject

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "subject")]
public string Subject { get; set; }

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }

Property Value

DateTimeOffset?

TemplateStyle

Style

Name: TemplateStyle

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "templateStyle")]
[Updateable(false)]
[Createable(true)]
public string TemplateStyle { get; set; }

Property Value

string

TemplateType

Template Type

Name: TemplateType

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "templateType")]
[Updateable(false)]
[Createable(true)]
public string TemplateType { get; set; }

Property Value

string

TimesUsed

Times Used

Name: TimesUsed

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "timesUsed")]
[Updateable(false)]
[Createable(false)]
public int? TimesUsed { get; set; }

Property Value

int?

UiType

UI Type

Name: UiType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "uiType")]
public string UiType { get; set; }

Property Value

string