Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing email template issue

  • Loading branch information...
commit 9e2af6af2e174a1b5f70e062c2b1c225741c1197 1 parent 2a9728a
@mfullmore mfullmore authored
View
6 src/email/Nuehealth_PRM-meta.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EmailFolder xmlns="http://soap.sforce.com/2006/04/metadata">
+ <accessType>Public</accessType>
+ <name>Nuehealth PRM</name>
+ <publicFolderAccess>ReadWrite</publicFolderAccess>
+</EmailFolder>
View
8 src/email/Nuehealth_PRM/MarketingProductInquiryResponse.email
@@ -0,0 +1,8 @@
+Dear {!Lead.Name},
+
+Thank you for your inquiry about GenWatt's products.
+
+A representative will contact you shortly.
+
+Thanks,
+The GenWatt Team
View
10 src/email/Nuehealth_PRM/MarketingProductInquiryResponse.email-meta.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EmailTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
+ <available>true</available>
+ <description>Standard email response to website product inquiries</description>
+ <encodingKey>UTF-8</encodingKey>
+ <name>Marketing: Product Inquiry Response</name>
+ <style>none</style>
+ <subject>GenWatt: Thanks for your inquiry</subject>
+ <type>text</type>
+</EmailTemplate>
View
5 src/package.xml
@@ -57,6 +57,11 @@
<name>Document</name>
</types>
<types>
+ <members>Nuehealth_PRM</members>
+ <members>Nuehealth_PRM/MarketingProductInquiryResponse</members>
+ <name>EmailTemplate</name>
+ </types>
+ <types>
<members>*</members>
<name>HomePageLayout</name>
</types>
View
8 src/triggers/MessageTrigger.trigger
@@ -1,7 +1,7 @@
trigger MessageTrigger on Message__c (before insert,
- before update,
- after insert,
- after update) {
+ before update,
+ after insert,
+ after update) {
if(Trigger.isBefore) {
if(Trigger.isInsert) {
@@ -25,4 +25,4 @@ trigger MessageTrigger on Message__c (before insert,
MessageManagement.addApexSharing(Trigger.new);
}
}
-}
+}
View
5 src/triggers/MessageTrigger.trigger-meta.xml
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexTrigger xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>25.0</apiVersion>
+ <packageVersions>
+ <majorNumber>1</majorNumber>
+ <minorNumber>4</minorNumber>
+ <namespace>ERD</namespace>
+ </packageVersions>
<status>Active</status>
</ApexTrigger>
Please sign in to comment.
Something went wrong with that request. Please try again.