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
MlDomainName | MlIntentName | Utterance | |
---|---|---|---|
My_First_Intent_Set | Transfer_To_Agent | A human could do a better job here | |
My_First_Intent_Set | Transfer_To_Agent | a real person to chat with | |
My_First_Intent_Set | Transfer_To_Agent | Agent | |
My_First_Intent_Set | Transfer_To_Agent | Agent damn it | |
My_First_Intent_Set | Transfer_To_Agent | Agent now please! | |
My_First_Intent_Set | Transfer_To_Agent | Agent please! | |
My_First_Intent_Set | Transfer_To_Agent | Agent quick! | |
My_First_Intent_Set | Transfer_To_Agent | Are you a bot? I'd like a human | |
My_First_Intent_Set | Transfer_To_Agent | Ask agent |
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 SurveyRedirectController { | |
public PageReference redirectToSurvey() { | |
String url = [SELECT Id, Survey_URL__c, ChatKey FROM LiveChatTranscript WHERE ChatKey = : ApexPages.currentPage().getParameters().get('chatKey')].Survey_URL__c; | |
PageReference surveyURL = new PageReference(url); | |
return surveyURL; | |
} | |
} |
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
<apex:page controller="SurveyRedirectController" action="{!redirectToSurvey}" > | |
</apex:page> |
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
<aura:component implements="forceCommunity:themeLayout" access="global" description="Custom Community Theme Layout for post-chat surveys with no header"> | |
<div> | |
<div class="mainContentArea"> | |
{!v.body} | |
</div> | |
</div> | |
</aura:component> |
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
.THIS { | |
position: relative; | |
z-index: 1; | |
} | |
.THIS .surveyRuntimeSurvey.surveyScreen { | |
min-width: 0; | |
margin: -13px; | |
width: calc(100% + 25px) !important; | |
padding-bottom: 50px !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
'https://YOUR_DOMAIN_HERE.force.com/survey/runtimeApp.app?invitationId='+ | |
[SurveyInvitation].Id+ | |
'&surveyName=YOUR_SURVEY_API_NAME_HERE&UUID=' | |
+[SurveyInvitation].UUID |
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
<apex:page > | |
<!--BEGIN Chat Button Code Snippet--> | |
<a id="liveagent_button_online_5733i000000gfJr" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('5733i000000gfJr')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_5733i000000gfJr" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript"> | |
if (!window._laq) { window._laq = []; } | |
window._laq.push(function(){liveagent.showWhenOnline('5733i000000gfJr', document.getElementById('liveagent_button_online_5733i000000gfJr')); | |
liveagent.showWhenOffline('5733i000000gfJr', document.getElementById('liveagent_button_offline_5733i000000gfJr')); | |
});</script> |
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
<apex:page> | |
<!--BEGIN Chat Button Code Snippet--> | |
<a id="liveagent_button_online_5733i000000gfJr" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('5733i000000gfJr')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_5733i000000gfJr" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript"> | |
if (!window._laq) { window._laq = []; } | |
window._laq.push(function(){liveagent.showWhenOnline('5733i000000gfJr', document.getElementById('liveagent_button_online_5733i000000gfJr')); | |
liveagent.showWhenOffline('5733i000000gfJr', document.getElementById('liveagent_button_offline_5733i000000gfJr')); | |
});</script> | |
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
<apex:page > | |
<!--BEGIN Chat Button Code Snippet--> | |
<a id="liveagent_button_online_5733i000000gfJr" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('5733i000000gfJr')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_5733i000000gfJr" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript"> | |
if (!window._laq) { window._laq = []; } | |
window._laq.push(function(){liveagent.showWhenOnline('5733i000000gfJr', document.getElementById('liveagent_button_online_5733i000000gfJr')); | |
liveagent.showWhenOffline('5733i000000gfJr', document.getElementById('liveagent_button_offline_5733i000000gfJr')); | |
});</script> |
OlderNewer