Adding custom fields to email template records?

I noticed there is no Email or Email Tempates listed in Studio.  We'd like to add a field or two to classify our different email templates, say we send different emails to prospects based on the business industry they are in so we'd like to add an 'industry type' field to the template.  Looks like this isn't possible (at least not through the interface.) So at this point we are putting the industry in parentheses in the template name which is kind of a clunky way to doing it.

Parents Reply
  • Hi Victoria,

    You need administration rights for the following steps.

    Create a manifest.php (you may use the manifest Example on that site), put it in a folder, change it for your needs and add the following "$installdef Action". make sure that you keep the value 'is_uninstallable' => true. like this you are able to go back, if you don't like what you see

    $installdefs = array (
    'copy' =>
    array (
    0 =>
    array (
    'from' => '<basepath>/custom',
    'to' => 'custom',
    ),
    ),
    );

    Starting from the folder where the manifest.php file lies, build up the following path:

    custom/modules/Emails/metadata/

    custom/modules/EmailTemplates/metadata/

    In every metadata folder you put an empty <studio.php>-file

    After this, zip the content of the folder, open the Module Loader in the Administration Menu. Load up the zip-File. You will see the package in the below section of the Module Loader. Click on the install button, if everything works fine, you will see a success message. After this I did an "Rebuild and Repair", not sure if it's really necessary. 

    As I mentioned above, I performed it on a on-Premise version (8.0.2 Enterprise).

    Hope it will help you out.

    Regards
    Rene

Children