Ecom:CatalogPublishing.EmailForm

Version: - string  

Summary

Returns the code snippet from the email form template that is used to email the catalog PDF.

Settings

The value is generated automatically.

Remarks

Available attributes that can be used for Name and ID in the email form:

From:

  • FM_Charset
  • FM_html
  • FM_Template
  • FM_Attachments
  • FM_Redirect
  • FM_Subject
  • FM_FromEmail
  • FM_CcEmail

To: 

  • TM_Name
  • TM_FromName
  • TM_Content

Examples

Outputting the template tag

@GetString("Ecom:CatalogPublishing.EmailForm")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CatalogPublishing.EmailForm"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CatalogPublishing.EmailForm"); }

Outputting the template tag

<!--@Ecom:CatalogPublishing.EmailForm-->

Check if string has a value

<!--@If Defined(@Ecom:CatalogPublishing.EmailForm)--> Let's output this tag here: <strong><!--@Ecom:CatalogPublishing.EmailForm--></strong> <!--@EndIf(@Ecom:CatalogPublishing.EmailForm)-->