• 360venky
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 9
    Replies

Hello Friends,

 

I am using java script code for opening the URL in nwe window. I have to provide Id also in URL.My class is getting the id bt before to that thje java script is running and it is not taking the id in URL.

 

 

creobj=[select id,name,P1_Last_Name__c,Booking_Id__c from Credit_Card_Info__c where
Booking_Id__c=:BookingId];

 

BooKid=creobj.Id

 

Thanks in advance

Hello friends,

 

I am giving one URL in I frame.On the button click I want to open the same url in the same window.How Can I do the same?

Hi,

 

        I'm having Date field in my contact object.I want to update that field at the end of the every month.For that i want to write apex schedular.To update that field.Here is the class and  i want use schedular to this class.

 

 

public class Dat{
public Date t=System.Today();


//public contact con{get;set;}
Public List<contact> conn{get;set;}
Public string day;

public Dat(){


Datetime myDate = datetime.newInstance(t.year(), t.month(), t.day());
day = myDate.format('MMM-yyyy');
con();
}
public void con(){
for(contact con:[select Date__c from contact])
{

con.Date__c=day;
conn.add(con);
}
Update conn;
}
}

 

 

 

 

Hi


I'm setup salesforce Live chat..


I'm having problem in live chat button visible.The code added to footer & the chat button is added I have pasted the code.


The button is added on the side bar at the top. I have removed the old chat button code added to the content in that page. But the chat button is not visible.

 

Please help me..

 

Hi 

 

I'm creating a two buttons(ClockIn/Clock Out) on my homepage.when i click on ClockIn button on my homepage, clock out button has to display on my homepage and Clock In button has to Hide.In the same way if i click on Clockout button 

on my homepage,Clock In button has to display Clock Out has to hide...

 

Please do help me....

 

 

 

Hi,

 

        I'm having Date field in my contact object.I want to update that field at the end of the every month.For that i want to write apex schedular.To update that field.Here is the class and  i want use schedular to this class.

 

 

public class Dat{
public Date t=System.Today();


//public contact con{get;set;}
Public List<contact> conn{get;set;}
Public string day;

public Dat(){


Datetime myDate = datetime.newInstance(t.year(), t.month(), t.day());
day = myDate.format('MMM-yyyy');
con();
}
public void con(){
for(contact con:[select Date__c from contact])
{

con.Date__c=day;
conn.add(con);
}
Update conn;
}
}

 

 

 

 

How can we rename the salesforce SITES NAME for enterprise edition????

Can i  write a sheduled trigger in such way that if the contact are not updating their time sheet after 120mins they have to notifie  with mail
 

Hi


I'm setup salesforce Live chat..


I'm having problem in live chat button visible.The code added to footer & the chat button is added I have pasted the code.


The button is added on the side bar at the top. I have removed the old chat button code added to the content in that page. But the chat button is not visible.

 

Please help me..

 

Hi,

I am currently using the Salesforce Live Agent. I have successfully setup the administrator and the operator accounts and am able to establish the chat from a site that is Customer Portal enabled.

What I need is to display the logged in user name and context on the operator console when a chat invite is accepted by the operator. Currently it displays the name as  "visitor:" beside the visitor's message. Can I have the name of the Logged in User here. Also I need the contact associated with the User to be displayed. How do I establish the connection with my salesforce org so that I can achieve this.

I also need to route the chat to the appropriate operator based on certain parameters of the logged in user. Ex I need to route the chat to the account owner of the visitor. I can see only the default routing(based on departments) and a way to route based on their current chat activity. Is there any other way to specify custom routing?

Any help would be greatly appreciated.
Regards,

Hi,

 

Part of a project we are working on is deploying Live Agent. Part of Live Agent is the ability to add a button to a page that indicates if a Live Agent user has logged in and is available to chat, The button renders one message if its available and another if not. This is great and works well when we added to a home page in a customer portal setup.

 

However, when we added the code to a VisualForce page, the button would not work! Does anybody have experience with using this button code in a VF page? The VF page we are using is a sites page and is publicly available. The code is below, there are two sections to it.

 

<!-- START Salesforce Live Agent Deployment Code: MUST BE PLACED DIRECTLY ABOVE THE CLOSING </BODY> TAG and AFTER/OUTSIDE ALL HTML -->
<script type="text/javascript">
var __ALC_Deployment = 9702;
document.write(unescape("%3Cscript src='"+document.location.protocol+"//depot.liveagentforsalesforce.com/app/js/lt.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<!-- END Salesforce Live Agent Deployment Code -->


And this is the code for the buttons:



<!-- START Salesforce Live Agent Button/Link Code: Place this code into your HTML wherever you want this button/link to appear -->
<script type="text/javascript">
var __ALC_BADGE_SUFFIX = (Math.round(Math.random()*10000000000));
document.write('<div id="__ALC_BADGE_ONLINE'+__ALC_BADGE_SUFFIX+'" style="display: none;"><a href="javascript&colon;//chat" onclick="_alc.startChat(14885); return false;"><img id="__ALC_BADGE_ONLINE_IMAGE" style="border: 0px none" src="'+unescape(document.location.protocol+'//depot.liveagentforsalesforce.com/app/chat/buttons/97/btn3_grn2_on.gif')+'" /></a></div><div id="__ALC_BADGE_OFFLINE'+__ALC_BADGE_SUFFIX+'" style="display: none;"><a href="http://www.city-link.com"><img id="__ALC_BADGE_OFFLINE_IMAGE" style="border: 0px none" src="'+unescape(document.location.protocol+'//depot.liveagentforsalesforce.com/app/chat/buttons/97/btn3_grn2_off.gif')+'" /></a></div>');
if ( typeof(__ALC_Badges) == 'undefined' ) __ALC_Badges = new Array();
var __ALC_BUTTON = new Object(); __ALC_BUTTON.id = '14885'; __ALC_BUTTON.available = '__ALC_BADGE_ONLINE'+__ALC_BADGE_SUFFIX; __ALC_BUTTON.unavailable = '__ALC_BADGE_OFFLINE'+__ALC_BADGE_SUFFIX; __ALC_BUTTON.department = 0; __ALC_Badges.push(__ALC_BUTTON);
</script>
<!-- END Salesforce Live Agent Button/Link Code -->

 

I've been provisioned a LiveAgent admin account and am setting up a demo for internal knowledge transfer.

 

I've created a Deployment and a button, and it's showing up for me in my Customer Portal.

 

What I"m not able to complete:

- When the customer initiates a chat from the Portal, the agent is notified,and can click the Accept button. The pop-up window with the progress bar is in waiting mode, and the console's status stays at "Enaging..." indefinitely.

- Also, the agent is able to click the Invite button to initiate a chat with a customer...(the console reports that an invitiation was sent), but the customer's web page never sees a chat invitiation window

 

- For the Deployment creation, I used the the appropriate sfdc subdomain (na12.salesforce.com)... 

- In the liveagent console, I've checked my connection settings and it reports that it's a Direct connection

...

Any suggestions?