• Leo10
  • NEWBIE
  • 486 Points
  • Member since 2016
  • Mr
  • Beo software private limited


  • Chatter
    Feed
  • 14
    Best Answers
  • 1
    Likes Received
  • 2
    Likes Given
  • 14
    Questions
  • 146
    Replies
Hi all,
I have a requirement, need to route chats from live webchat to live agents based on website languages. How to accomplish this?.

Eg: English-> English speaking agent, Spanish-> Spanish speaking agent 

Thanks in advance,
Leo
 
Hi, 
I have a list of list of map.
List<list<map<string,string>>> customer

How to the retrieve the values of the map in Apex?
Thanks in adv.

Rgds,
Vai
 
It is a requirement to provide the IPs from Salesforce so that the webservice calls made from Salesforce to PeopleSoft can be whitelisted by Integration Team. Otherwise the integration is not possible. As i said, we are based in Germany and  hence we would need the IP ranges for Germany.
I am doing syncronous callout when a quick action is called and it update a field in the record. And also a after insert tirgger that invokes queable apex which also makes a callout and update the record.After synchronous callout update the record successfully I have to refresh the record page 2 or 3 times to see the update value. How to speed up this refresh process.
List<Case> localemailaddress = new List<Case>([SELECT ID,AV_Local_Affiliate_Inbox__c FROM Case Where Id IN : newCaseMap.keySet()]);
if(localemailaddress.size()>0 && localemailaddress!=null&&localemailaddress.get(0).AV_Local_Affiliate_Inbox__c!=null){
String affiliateemail=String.valueOf(localemailaddress.get(0).AV_Local_Affiliate_Inbox__c);

Please let me know it is very urgent.

Hi

I was trying to get the patch version and i have seen the salesforce doc for this purpose but it seems no matter what i do it will just return null instad of the patch version has anyone experience the similar problem or if anyone knows about this behaviour can they help me out please.

Thanks 

Whenever a live agent receives a message from the visitor there should be be a desktop notification to be fired.
When a record is sent from external system to Salesforce, via web service, the case record needs to route to a specific agent population only within business hours (i.e. 7am to 10pm), and within federally mandated outbound calling time frame (i.e. 9am to 9pm) and within the given time zone of where the customer lives (i.e. 9am to 9pm local time zone of target customer location - eastern, central, mountain and western time). Notice how the business hours are different than the federally mandated calling time regulated hours. 

This is the use case am trying to solve for existing project that has a short timeline. I am not sure how to handle this since Omni-Channel is not smart enough. I do not have Einstein and do not want to use that as part of the solution. The timeline will allow for anything in Winter '19 release (production) and apex coding, if necessary.  (see use case details below - the call center agent works in the eastern time zone)

1) Records are sent to Salesforce, from external system 24 hours daily (i.e. outside of business hours, inside business hours).
2) Agent signs into Salesforce at 7am Eastern time zone (agent population start time)
3) Eastern time zone, Central time zone, Mountain time zone, Western time zone records are being sent to Salesforce for agent routing
3.a) As an agent, it is 7am to 8:59pm and still not time to receive case records - federally mandated calling start time not reached. However, I may be asked to perform other case work - not part of this process.
3.b) As an agent, it is now 9am and I can begin receiving only case records for the Eastern time zone
3.c) As an agent, it is now 10am and I can begin receiving only cases records for both Eastern and Central time zones
3.d) As an agent, it is now 11am and I can begin receiving only case records for Eastern, Central and Mountain time zones.
3.e) As an agent, it is now 12pm and I can begin receiving only case records for Eastern, Central, Mountain and Western time zones.
3.f) As an agent, it is now xxpm and I can begin receiving only case records for ... this could continue beyond continental time zones for North America. Likewise, it could be for time zones East of the Eastern time zones. (i.e. it needs to be flexible)
3.g) As an agent, it is now 9pm and I cannot receive any cases because I have reached the federally mandated limit for outbound communications to customers.
3.h) As an agent, it is now 10pm and the call center is closed for the day.
4) Eastern time zone, Central time zone, Mountain time zone, Western time zone records are being sent to Salesforce for agent routing
4.a) Cases are still being sent to Salesforce from the external system and their are no agents available
5) Agent signs into Salesforce at 7am (agent population start time)
5.a) As an agent, it is 7am to 8:59pm and still not time to receive case records - federally mandated calling start time not reached. However, I may be asked to perform other case work - not part of this process.
5.b) As an agent, it is now 9am and I can begin receiving only case records for the Eastern time zone
..... everything repeats
Hello, 
I want to hid this buttons in my view section
User-added image
Can you help me
Hello,
How can I move my custom buttons to the bottom of the Lightning Action with my VF Page? In the screenshot below, I'd like to move the button "Send Now" to the bottom where Cancel and Save are found. And actually I'd like to replace Save with the Send Now.
When I click the Action button now below is what pops up:
User-added image
My VF Page looks like this:
<apex:page standardcontroller="Lead" lightningStylesheets="true" extensions="SaveAmend">
    <apex:form >
        
        <!--Other info here-->
        
        <apex:commandButton value="Send Now" action="{!Send}"/>
    </apex:form>  
</apex:page>
I tried putting the apex:commandbutton inside apex:pageblockbutton, but that didnt work either.
Thanks for your help!
Hi everyone-I have an interesting business case, so will try to keep this as concise as possible:

We have a business unit with 2 Opportunity record types, called Firm (parent opportunity) and Fund (child opportunity). I created a lookup relationship on the Opportunity object that also looks up to Opportunities. Opportunities of the Fund record type (child) are required to have a value in the lookup field that points to the parent opportunity (Firm).

Here is what I'm trying to solve for: we have a custom Currency field on the Firm record type called Total Contract Value. What I am trying to do is write a trigger that will calculate the sum of all Closed Won Fund opportunity amounts (children), plus the amount of the Firm opportunity (parent), assuming it is Closed Won as well. Would love some direction on what this trigger would look like. Thanks in advance!
Hi 
when select picklist value, based on selection , populate table results...but below code not working, can u pls check is there any wrong in below my code

VF page:
<apex:selectList value="{!statusOptions}" multiselect="false" size="1">
     <apex:selectOptions value="{!items}"/>
     <apex:actionSupport event="onselect" action="{!poplateResults}" reRender="messageBlock"/>
     </apex:selectList> 

 <apex:actionStatus id="status" startText="requesting..."/>
<apex:pageBlockSection title="Results" id="results" columns="1">
                    <apex:pageBlockTable value="{!results}" var="c"
                               rendered="{!NOT(ISNULL(results))}">
<apex:column value="{!c.Type}" />
                    <apex:column value="{!c.Subject}" />
                    <apex:column value="{!c.Priority}" />
                    <apex:column value="{!c.Status}" />
                    <apex:column value="{!c.CreatedDate}" />
                     <apex:column value="{!c.Owner.Name}" />    
                    <apex:column value="{!c.SLA_Flag__c}" />
   </apex:pageBlockTable>

Controller class ::
------------------------------
public List<SelectOption> getItems() {

        List<SelectOption> options = new List<SelectOption>();
        
        options.add(new SelectOption('Admin));
        options.add(new SelectOption('Dev'));
        options.add(new SelectOption('Suppp'));
        options.add(new SelectOption('Test));
       
        return options;
    }
 public void poplateResults()
    {
         results = [select CaseNumber,Type, Subject, Priority,Status,CreatedDate,SLA_Flag__c,Owner.Name  from Case where Mail_Box_Name__c=:statusOptions];
    }

please check is there any wrong in my code ...Thanks
Hi All,

Is there a way to intigrate Googlee Charts in My lightning Components.
If So can any one share some sample examples.

Thanks
Arjun.M
Hi All,

Could you please let us know if we can Chat between Comminity Users and Normal Salesforce Users. Please also suggest a method to achieve this.

Thanks and Regards,
Christwin