emailtemplate
For information about developing emailtemplate SDF custom objects, see Email Templates as XML Definitions.
Feature Dependencies
-
CRM
Attributes
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
scriptid |
string |
Required |
This attribute value can be up to 99 characters long. The default value is ‘custemailtmpl’. |
Fields
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
name |
string |
Required |
This field value can be up to 60 characters long. |
mediaitem |
filereference |
Required (conditionally) |
This field is mandatory when the usesmedia value is equal to T. This field must reference a file with any of the following extensions: .ftl, .html, .txt |
description |
string |
Optional |
This field value can be up to 1000 characters long. |
recordtype |
single-select list |
Optional |
For information about possible values, see emailtemplate_recordtype. |
isinactive |
boolean |
Optional |
The default value is F. |
subject |
string |
Optional |
This field value can be up to 199 characters long. |
isprivate |
boolean |
Optional |
The default value is F. |
addunsubscribelink |
boolean |
Optional |
The default value is T. |
addcompanyaddress |
boolean |
Optional |
The default value is T. |
usesmedia |
boolean |
Optional |
The default value is F. |
Additional Files
To use this SDF custom object, you may need to add the following files to the SuiteCloud project:
-
Object-Script-ID.template.html This file is optional and must contain the content for the SDF custom object.