This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF(ISBLANK(TEXT(Agent_Feedback_Score__c)),'', | |
IMAGE(CASE( Text(Agent_Feedback_Score__c) , | |
'4','/resource/CSAT/4.png', | |
'3','/resource/CSAT/3.png', | |
'2','/resource/CSAT/2.png', | |
'1','/resource/CSAT/1.png',''),'',22,22) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rigger CreateContactfromEmailWeb2Case on Case (before insert) { | |
List<String> UseremailAddresses = new List<String>(); | |
for (Case c:Trigger.new) { | |
if (c.ContactId==null && | |
c.SuppliedEmail!=''|| c.SuppliedEmail==null) | |
{ | |
UseremailAddresses.add(c.SuppliedEmail); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CreateContactfromEmailWeb2CaseTest { | |
public static testMethod void testBulkContactsGetCreated() { | |
List<Case> newCases = new List<Case>(); | |
for (Integer i = 0; i<100; i++) { | |
Case c = new Case(SuppliedEmail='jdoe_test_test@doe.com' + i, | |
SuppliedName='John Doe' + i, | |
Subject='Feedback - Something' + i); | |
newCases.add(c); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label for="email_subject" class="control-label">{{system.snippets.subject}} ({{system.snippets.required}}):</label> | |
<input id='email_subject' class="form-control" maxlength='100' name='email[subject]' type='text' value='{% if search_term and search_term != '' %}{{search_term}}{% else %}{{email.subject}}{%endif%}' required/> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#rate_article_container { | |
display: none !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign emails = case.emails_for_reply_theme %} | |
{% assign threadlength = emails.size|minus:1 %} | |
{% for email in emails reversed %} | |
{% if forloop.first %} | |
{{email.new_html}} | |
{% if email.agent %} | |
<!--- custom agent signature goes here and replaces the following few lines --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"active":true, | |
"data": | |
{"type":"list", | |
"choices": | |
["ABS", | |
"Analyst", | |
"CMPO", | |
"Convertible", | |
"Debt", | |
"Early Look", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group div-category"> | |
<label for="ticket_custom_INSERTYOURCUSTOMFIELDKEYHERE" class="control-label"> | |
Is your inquiry regarding bagels or cupcakes?({{system.snippets.required}}) | |
</label> | |
{{ ticket_custom_INSERTYOURCUSTOMFIELDKEYHERE }} | |
</div> |