-
ChatterFeed
-
0Best Answers
-
4Likes Received
-
1Likes Given
-
5Questions
-
12Replies
Monitor the live agent queue
Does anyone have any idea how can that be done? the queues are not available for workflows, and I cant find documentaiton of api access to the queue...
-
- Guy Keshet
- February 12, 2015
- Like
- 0
- Continue reading or reply
Deploy change field type to picklist does not include picklistValues
I've deployed the change using eclipse IDE (so - using the metadata api), however when I checked on the target org, the field type change was successful, but the picklist values did not deploy.
I repeated the same deployment a second time (no change to the source file)- and now the picklist values have deployed.
Is there any way to deploy both changes at once? Is this a Metadata api bug?!?
-
- Guy Keshet
- February 04, 2015
- Like
- 0
- Continue reading or reply
FYI- Beware of deploying batch job changes, while they are running
We found out today a potential problem this raises:
We added a new field to a batch process. Post deployment, SFDC threw an 'SObject row was retrieved via SOQL without querying the requested field' error.
It seems that as the batch job was running at the same time as the code was deployed, a data subset has been queried using the old code, while the processing batch used the new code
luckily for us we reprocess failed records automatically, so no real issue , but it's something worth considering when releasing batch job changes
-
- Guy Keshet
- January 21, 2015
- Like
- 4
- Continue reading or reply
Live agent transfer chat idea
So - if you link a case, a contact, an opp or an account to a transcript, when the chat is moved - the link is deleted.
SFDC states that this is "working as designed" ...
Please vote on my succes.salesforce.com idea to fix it as currently the product maanger will not consider fixing it anytime soon ..
https://success.salesforce.com/ideaView?id=08730000000l81WAAQ
-
- Guy Keshet
- August 06, 2014
- Like
- 0
- Continue reading or reply
how does live chat behave on mobile browsers?
what my web team wants to know is: Is there a way of suppressing live chat once screen size goes past a certain point? can I control live chat behaviour on a mobile client?
-
- Guy Keshet
- July 11, 2014
- Like
- 0
- Continue reading or reply
FYI- Beware of deploying batch job changes, while they are running
We found out today a potential problem this raises:
We added a new field to a batch process. Post deployment, SFDC threw an 'SObject row was retrieved via SOQL without querying the requested field' error.
It seems that as the batch job was running at the same time as the code was deployed, a data subset has been queried using the old code, while the processing batch used the new code
luckily for us we reprocess failed records automatically, so no real issue , but it's something worth considering when releasing batch job changes
-
- Guy Keshet
- January 21, 2015
- Like
- 4
- Continue reading or reply
Deploy change field type to picklist does not include picklistValues
I've deployed the change using eclipse IDE (so - using the metadata api), however when I checked on the target org, the field type change was successful, but the picklist values did not deploy.
I repeated the same deployment a second time (no change to the source file)- and now the picklist values have deployed.
Is there any way to deploy both changes at once? Is this a Metadata api bug?!?
- Guy Keshet
- February 04, 2015
- Like
- 0
- Continue reading or reply
System.QueryException with test class
myTestMethod
System.QueryException: List has no rows for assignment to SObject
<span unselectable="on" "="" style="font-weight: normal; display: block; padding: 3px 4px; overflow: hidden; margin-left: 0px;">Class.HelperContactTrigger.sendEmail: line 6, column 1
Class.HelperContactTriggerTestneu.myTestMethod: line 17, column 1
the classes:
public with sharing class HelperContactTrigger {
//static method
public static List<Account> sendEmail(List<Account> accounts) {
//query on template object, is this correct,what might have been the mistake when I'm refering to EmailTemplate?
EmailTemplate et=[Select id from EmailTemplate where name= 'Sales: New Customer Email' limit 1];
//list of emails
List<Messaging.SingleEmailMessage> emails = new List<Messaging.SingleEmailMessage>();
//loop
for(Account con : accounts){
.............
//send mail
Messaging.sendEmail(emails);
return accounts;
}
}
@isTest(SeeAllData=true)
private class HelperContactTriggerTestneu {
public static testMethod void myTestMethod() {
system.debug('### NewAccountTest ###');
Account acc = new Account(Name = 'Test Test');
{
insert acc;
// Here I'm refering to the test account that I have in my accounts, still this does not seem to work, how is that possible?
List<Account> sendMail = [select id from account where (Name='Test Test') and id=:acc.id];
test.startTest();
HelperContactTrigger.sendEmail(sendMail);
test.stopTest();
System.assert(acc !=null);
}
}
}
thanks in advance! :)
- Bernd Nawrath
- December 22, 2014
- Like
- 0
- Continue reading or reply
when opportunity product is added to opportunity
how to implement this through triggers,please help me out
- Tashika Gupta
- December 22, 2014
- Like
- 0
- Continue reading or reply
Read CSV file from SFTP and write into Salesforce
I want to read a csv file from SFTP server and using that i need to create Accounts and Cases in Salesforce. This needs to be scheduled to run everyday. Can you please suggest a better approach for this?
Can i Install Command line data loader inside SFTP server to push the data into salesforce?
SFTP interfaces are not available in Apex as in Java. So I feel that we can not connect to SFTP from salesforce directly. Please suggest
Thanks,
Ganesh
- Ganesh Hegde
- December 22, 2014
- Like
- 0
- Continue reading or reply
Salesforce inbound integration with a messaging system
We would like to replace this with a 'standard' messaging product, such as MQ, however I cant find any documentation for a standard product that would push messages into salesforce
in essence - I'm looking for the exact opposite of the streaming API - I'd like a standard product that would enable salesforce to listen to an external queue and pick up messages.
Anyone aware of such a product?
- Guy Keshet 7
- November 04, 2014
- Like
- 0
- Continue reading or reply
Criteria based sharing rule on 'Orders'
Under 'Sharing Settings' there is no 'Order' listed under sharing rules.
Is it not possible to apply sharing rules in Order
- Valli Gopalakrishnan
- August 05, 2014
- Like
- 0
- Continue reading or reply
Transfer chat
I'm using the capabilities of Salesforce Live Agent chat and I noticed that when the chat is transferred from one agent to another all references (leads , cases and so on) are lost.
Scenario:
The agent accepts a chat with a new client and during the conversation begins to create and fill a new lead and a new case. At one point, unable to meet the demand of the customer, he decides to transfer the chat to an agent with more skill. He saves the lead and the case and associates them with the chat details. When he pushes the transfer button, the console opens a pop-up that says that all references will be lost. If he continues, the new operator will not be able to recover either the lead or case and he will have to generate a new ones making a mess.
My question is: "in the process of chat transfer, is there a way to make sure that the records created during the chat are transferred as well ?" The behaviour I would expect in tranferring is that everything was opened in agent A' console will be open in agent B' console.
Note that there are no customizations in this process.
Thank you,
Andrea
- andysax84
- January 08, 2014
- Like
- 2
- Continue reading or reply
Live Agent- Pre-chat Form presisting in Live Chat Transcript
Hi,
My requirement is to invoke Live Agent web chat from my official website.
For this sake, I have created a pre-chat page with user information fields and created corresponding Custom Fields in Live Chat Transcript.
But, once the chat got completed with live agent, the updated information values are not stored in the newly created custom fields.
I have pasted below my Pre-chat form source code for reference.
<apex:page showHeader="false" >
<!-- This script takes the endpoint URL parameter passed from the deployment page and makes
it the action for the form -->
<script type="text/javascript">
(function() {
function handlePageLoad() {
var endpointMatcher = new RegExp("[\\?\\&]endpoint=([^&#]*)");
document.getElementById('prechatForm').setAttribute('action',
decodeURIComponent(endpointMatcher.exec(document.location.search)[1]));
} if (window.addEventListener) {
window.addEventListener('load', handlePageLoad, false);
} else { window.attachEvent('onload', handlePageLoad, false);
}})();
</script>
<form id="prechatForm" method="post">
<table align="center" cellspacing="5">
<tr><td class="labelInput">Nome*:</td><td><input name="liveagent.prechat.name" type="text" maxlength="50" id="prechat_field" style="formTextBox"/></td></tr>
<tr><td class="labelInput">E-mail*:</td><td> <input name="liveagent.prechat:email" type="text" maxlength="50" id="prechat_email" style="formTextBox"/></td></tr>
<tr><td class="labelInput">CPF*:</td><td><input name="liveagent.prechat:CPF" type="text" maxlength="14" id="prechat_cpf" style="formTextBox"/></td></tr>
<tr><td class="labelInput">Telefone*:</td><td><input name="liveagent.prechat:Telefone" type="text" maxlength="15" id="prechat_telefone" style="formTextBox" /></td></tr>
<tr><td class="labelInput">Assunto:</td>
<td>
<select name="liveagent.prechat.Type" style="formComboBox">
<!-- Values are LiveChatButton IDs. -->
<option value="Promoções">Promoções</option>
<option value="Reclamações">Reclamações</option>
<option value="Informações">Informações</option>
<option value="Sugestões">Sugestões</option>
</select>
</td></tr>
<tr>
<table cellpadding="0" cellspacing="10" align="center">
<tr>
<td width="25%"> </td>
<td> <input type='submit' value='Request Chat' id='prechat_submit' /></td>
</tr>
</table>
</tr>
</table>
</tr>
</table>
<!-- Creates an auto-query for a matching Contact record’s Email field based on the
value of the liveagent.prechat:Email field -->
<!--input type="hidden" name="liveagent.prechat.query:Email"
value="Contact,Contact.Email" /-->
<input type="hidden" name="liveagent.prechat.save:name" value="CustomerName__c" />
<input type="hidden" name="liveagent.prechat.save:email" value="customer_Email__c" />
<input type="hidden" name="liveagent.prechat.save:CPF" value="CPF__c" />
<input type="hidden" name="liveagent.prechat.save:Telefone" value="Telephone__c" />
<input type="hidden" name="liveagent.prechat.save:Type" value="Type__c" />
</form>
</apex:page>
With Regards,
Vetrivel.s
- vetrivel
- April 04, 2013
- Like
- 0
- Continue reading or reply
Transfer chat
I'm using the capabilities of Salesforce Live Agent chat and I noticed that when the chat is transferred from one agent to another all references (leads , cases and so on) are lost.
Scenario:
The agent accepts a chat with a new client and during the conversation begins to create and fill a new lead and a new case. At one point, unable to meet the demand of the customer, he decides to transfer the chat to an agent with more skill. He saves the lead and the case and associates them with the chat details. When he pushes the transfer button, the console opens a pop-up that says that all references will be lost. If he continues, the new operator will not be able to recover either the lead or case and he will have to generate a new ones making a mess.
My question is: "in the process of chat transfer, is there a way to make sure that the records created during the chat are transferred as well ?" The behaviour I would expect in tranferring is that everything was opened in agent A' console will be open in agent B' console.
Note that there are no customizations in this process.
Thank you,
Andrea
- andysax84
- January 08, 2014
- Like
- 2
- Continue reading or reply