• Arindam Chakraborty 13
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 1
    Replies
I have enabled "Agent File Transfer Enabled" in Live Agent Configurations
User-added image

I have added <liveAgent:clientChatFileTransfer> in my custom chat VF page 
 
<apex:page showHeader="false">
<style>
body { overflow: hidden; width: 100%; height: 100%; padding: 0; margin: 0 }
#waitingMessage { height: 100%; width: 100%; vertical-align: middle; text-align: center; display: none; }
#liveAgentClientChat.liveAgentStateWaiting #waitingMessage { display: table; }
#liveAgentSaveButton, #liveAgentEndButton, #liveAgentFileTransfer { z-index: 2; }
.liveAgentChatInput {
    height: 25px;
    border-width: 1px;
    border-style: solid;
    border-color: #000;
    padding: 2px 0 2px 4px;
    background: #fff;
    display: block;
    width: 99%;
}
.liveAgentSendButton {
    display: block;
    width: 60px;
    height: 31px;
    padding: 0 0 3px;
    position: absolute;
    top: 0;
    right: -67px;
}
#liveAgentChatLog {
    width: auto;
    height: auto;
    top: 0px;
    position: absolute;
    overflow-y: auto;
    left: 0;
    right: 0;
    bottom: 0;
}


</style>
<div style="top: 0; left: 0; right: 0; bottom: 0; position: absolute;">
<liveAgent:clientchat >
    <liveAgent:clientChatSaveButton label="Save Chat" />
    <liveAgent:clientChatEndButton label="End Chat" />
    <liveAgent:clientChatFileTransfer />
    <div style="top: 25px; left: 5px; right: 5px; bottom: 5px; position: absolute; z-index: 0;">
    <liveAgent:clientChatAlertMessage />
    <liveAgent:clientChatStatusMessage />
    <table id="waitingMessage" cellpadding="0" cellspacing="0">
    <tr>
    <td>
        <div><h1>Please wait while you are connected to an <b><u>RCI Support Agent</u></b></h1></div>
        <div><img src="https://test-rci-support-agent-developer-edition.ap2.force.com/phase2/resource/1450782443000/waitingBar"></img></div>
    </td>
    </tr>
    </table>
    <div style="top: 0; right: 0; bottom: 41px; left: 0; padding: 0; position: absolute; word-wrap: break-word; z-index: 0;">
    <liveAgent:clientChatLog />
    </div>
    <div style="position: absolute; height: auto; right: 0; bottom: 0; left: 0; margin-right: 67px;">
        <liveagent:clientChatInput /><liveAgent:clientChatSendButton label="Send"/>
    </div>
    </div>
</liveAgent:clientchat>
</div>
</apex:page>




But not able to find the file transfer option in agent view or in client chat window.

Please help 
 
I have enabled "Agent File Transfer Enabled" in Live Agent Configurations
User-added image

I have added <liveAgent:clientChatFileTransfer> in my custom chat VF page 
 
<apex:page showHeader="false">
<style>
body { overflow: hidden; width: 100%; height: 100%; padding: 0; margin: 0 }
#waitingMessage { height: 100%; width: 100%; vertical-align: middle; text-align: center; display: none; }
#liveAgentClientChat.liveAgentStateWaiting #waitingMessage { display: table; }
#liveAgentSaveButton, #liveAgentEndButton, #liveAgentFileTransfer { z-index: 2; }
.liveAgentChatInput {
    height: 25px;
    border-width: 1px;
    border-style: solid;
    border-color: #000;
    padding: 2px 0 2px 4px;
    background: #fff;
    display: block;
    width: 99%;
}
.liveAgentSendButton {
    display: block;
    width: 60px;
    height: 31px;
    padding: 0 0 3px;
    position: absolute;
    top: 0;
    right: -67px;
}
#liveAgentChatLog {
    width: auto;
    height: auto;
    top: 0px;
    position: absolute;
    overflow-y: auto;
    left: 0;
    right: 0;
    bottom: 0;
}


</style>
<div style="top: 0; left: 0; right: 0; bottom: 0; position: absolute;">
<liveAgent:clientchat >
    <liveAgent:clientChatSaveButton label="Save Chat" />
    <liveAgent:clientChatEndButton label="End Chat" />
    <liveAgent:clientChatFileTransfer />
    <div style="top: 25px; left: 5px; right: 5px; bottom: 5px; position: absolute; z-index: 0;">
    <liveAgent:clientChatAlertMessage />
    <liveAgent:clientChatStatusMessage />
    <table id="waitingMessage" cellpadding="0" cellspacing="0">
    <tr>
    <td>
        <div><h1>Please wait while you are connected to an <b><u>RCI Support Agent</u></b></h1></div>
        <div><img src="https://test-rci-support-agent-developer-edition.ap2.force.com/phase2/resource/1450782443000/waitingBar"></img></div>
    </td>
    </tr>
    </table>
    <div style="top: 0; right: 0; bottom: 41px; left: 0; padding: 0; position: absolute; word-wrap: break-word; z-index: 0;">
    <liveAgent:clientChatLog />
    </div>
    <div style="position: absolute; height: auto; right: 0; bottom: 0; left: 0; margin-right: 67px;">
        <liveagent:clientChatInput /><liveAgent:clientChatSendButton label="Send"/>
    </div>
    </div>
</liveAgent:clientchat>
</div>
</apex:page>




But not able to find the file transfer option in agent view or in client chat window.

Please help 

 

On live agent chat window I need to show the chat transcript on postchat page, after client or agent ends the chat. 
I have a postchat VF page and controller, containing below code

**VF Page:** 

    <apex:page controller="start" tabstyle="Plan__c" showHeader="false">
    <apex:form >
    <apex:selectRadio value="{!planRecord.train__c}">
                <apex:selectOption itemLabel="Public" itemValue="Public"/>
                <apex:selectOption itemLabel="Private" itemValue="Private"/>    
                <apex:selectOption itemLabel="Subsidiary" itemValue="Subsidiary"/>    
                <apex:selectOption itemLabel="Other" itemValue="Other"/>        
    </apex:selectRadio>
    </apex:form>
    </apex:page>


**Controller**:

    Public class start{
       public Plan__c planRecord{get {
                                              if (planRecord == null)
                                                planRecord = new Plan__c ();
                                              return planRecord;
                                            }
                                       set;}
       public string train{get;set;}
       private final Apexpages.Standardcontroller controller;
       public start(Apexpages.Standardcontroller sc){
        planRecord=(Plan__c)sc.getRecord();
        this.controller=sc;
       }
      public start(){
      }
      public PageReference Save()
      {
        insert planRecord;
        return null;
      } 
    }

**train__c** is a custom field in my custom object **Plan__c**.

Now when I check the VF page in preview mode, it works fine and show the radio button.
But when I add the vf page on **Post-Chat Page of Live Agent**, it do not show the radio button.

If I remove the ***value="{!planRecord.train__c}"*** from radion button, then it show on post chat. I need to access the value from postchat page 
Please help
I have a postchat VF page and controller, containing below code

**VF Page:** 

    <apex:page controller="start" tabstyle="Plan__c" showHeader="false">
    <apex:form >
    <apex:selectRadio value="{!planRecord.train__c}">
                <apex:selectOption itemLabel="Public" itemValue="Public"/>
                <apex:selectOption itemLabel="Private" itemValue="Private"/>    
                <apex:selectOption itemLabel="Subsidiary" itemValue="Subsidiary"/>    
                <apex:selectOption itemLabel="Other" itemValue="Other"/>        
    </apex:selectRadio>
    </apex:form>
    </apex:page>


**Controller**:

    Public class start{
       public Plan__c planRecord{get {
                                              if (planRecord == null)
                                                planRecord = new Plan__c ();
                                              return planRecord;
                                            }
                                       set;}
       public string train{get;set;}
       private final Apexpages.Standardcontroller controller;
       public start(Apexpages.Standardcontroller sc){
        planRecord=(Plan__c)sc.getRecord();
        this.controller=sc;
       }
      public start(){
      }
      public PageReference Save()
      {
        insert planRecord;
        return null;
      } 
    }

**train__c** is a custom field in my custom object **Plan__c**.

Now when I check the VF page in preview mode, it works fine and show the radio button.
But when I add the vf page on **Post-Chat Page of Live Agent**, it do not show the radio button.

If I remove the ***value="{!planRecord.train__c}"*** from radion button, then it show on post chat. I need to access the value from postchat page 
Please help