Click or drag to resize

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
Members
  Member nameValueDescription
Disabled1This item is disabled and will not be loaded into the collection.
TemplateMailer2This template should be available for selection in the template based email interface.
Subscribable4The template represents an email notification to which an end user may manage a subscription.
CustomLocation16The template file is stored in a custom location rather than a standard Template subfolder.
LogicalPath32The template file path is a logical rather than a physical path.
TemplateMailerDefault64This template should be selected by default in the template mailer list.
TemplateMailerUnsubscribe128This template requires the UNSUBSCRIBE event link.
DoNotResolveExpressions256Do not resolve embedded functions in the template (!fn notation items resolved using EmbeddedParser).
TemplateMailerShowBody512This template can be displayed and/or edited in the body of the template mailer screen.
UseNewTemplateExpansion1024This template is expanded using the new version of expansion, instead of a simple .replace for each item in the NameValueCollection.
MayBeEmpty2048Specifies that this template may be empty and that if it is the missingTemplateSource devlog entry should not be logged.
PushNotify4096 When performing notifications, use the Template's SourceLow to send a native push notification if the recipient has opted-in for native push notifications.
Plugin8192 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.
PreprocessEmail16384 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.
PreprocessHtml32768 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.
NoFooter65536 Do not add the std_footer to the template's subsitution parameters
See Also