TemplateAttrs Enumeration |
Attributes that apply to a
Template.
Templates are typically stored in meta-data and/or operational data and accessed via the application's
Templates collection.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [FlagsAttribute]
public enum TemplateAttrs
<FlagsAttribute>
Public Enumeration TemplateAttrs
Members
| Member name | Value | Description |
---|
| Disabled | 1 | This item is disabled and will not be loaded into the collection. |
| TemplateMailer | 2 | This template should be available for selection in the template based email interface. |
| Subscribable | 4 | The template represents an email notification to which an end user may manage a subscription. |
| CustomLocation | 16 | The template file is stored in a custom location rather than a standard Template subfolder. |
| LogicalPath | 32 | The template file path is a logical rather than a physical path. |
| TemplateMailerDefault | 64 | This template should be selected by default in the template mailer list. |
| TemplateMailerUnsubscribe | 128 | This template requires the UNSUBSCRIBE event link. |
| DoNotResolveExpressions | 256 | Do not resolve embedded functions in the template (!fn notation items resolved using EmbeddedParser). |
| TemplateMailerShowBody | 512 | This template can be displayed and/or edited in the body of the template mailer screen. |
| UseNewTemplateExpansion | 1024 | This template is expanded using the new version of expansion, instead of a simple .replace for each item in the NameValueCollection. |
| MayBeEmpty | 2048 | Specifies that this template may be empty and that if it is the missingTemplateSource devlog entry should not be logged. |
| PushNotify | 4096 |
When performing notifications, use the Template's SourceLow to send a native push notification
if the recipient has opted-in for native push notifications.
|
| Plugin | 8192 |
This template is used as a field plug-in. Currently field plug-ins can be selected from any template marked with this
attribute OR (for backward-compatibility) templates whose name starts with "plugin-". In the future we may rely solely
on this attribute.
|
| PreprocessEmail | 16384 |
This template provides HTML used for email content and, when expanding a High body,
should be pre-processed to improve email engine rendering.
There are a large number of email HTML renderers in use and all are inconsistent and most notoriously bad at applying styling.
The preprocessing applies HTML fixups, primarily around styling, to improve rendering in most email engines.
Note that this attribute may be combined with PreprocessHtml.
|
| PreprocessHtml | 32768 |
This template provides HTML and, when expanding a High body,
should be pre-processed for platform HTML macros. Because macro substitutions almost always rely on
template marker replacement values, the pre-processing is applied during expansion after
Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) is called.
At the present time the following macros are supported: data-showif and data-showif-eval.
Note that this attribute may be combined with PreprocessEmail.
|
| NoFooter | 65536 |
Do not add the std_footer to the template's subsitution parameters
|
See Also