• DougWD
  • NEWBIE
  • 30 Points
  • Member since 2009

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

Hi,

 

I've searched around without luck.

 

I'd like to create a custom button for a contact that automatically dials the contact numbers using RingCentral.

 

The Ring Central format is:

 

https://service.ringcentral.com/ringout.asp?cmd=call&username=8889363711&ext=101&password=1234&

to=6505551230&from=6505551231&clid=8889363711&prompt=1

 

I've put in a custom field in user that contains the correct info for the following: 

username=8889363711&ext=101&password=1234&from=6505551231&clid=8889363711&prompt=1

 

and created a custom URL button for accounts defined as:
https://service.ringcentral.com/ringout.asp?cmd=call{!User.Ring_Central_CallOut_Code__c} &to={!Contact.Phone}

 

The problem is that when this implements, it changes all of the special characters to escape sequences, for example:

https://service.ringcentral.com/ringout.asp?cmd=call%26username%3D8889363711%26ext%3D501%26password%3D1234%26from%3D6505551231%26clid%3D8889363711%26prompt%3D0%20&to=(610)+555-1212

 

I'd appreciate any help in this.  Thanks!

 

Doug 

 



 

 

  • January 30, 2009
  • Like
  • 0
Hi, I am new to apex trigger programming, though a long-time programmer.

I would like to track the date and time of day when tasks are marked "Completed". This functionality is not captured by Due Date or Date of Last Activity.

trigger DateCompleted on Task ( before insert, before update )
{
try
{
// task.DateCompleted = todaysDate();
// task.TimeCompleted = now;
}
catch ( Exception ex )
{
}
}

I'd appreciate your help on this - also (and related), I looked around for some time, but could not find a resource with a bunch of example Apex triggers - this would be really helpful.
  • January 13, 2009
  • Like
  • 1
Hi, I am new to apex trigger programming, though a long-time programmer.

I would like to track the date and time of day when tasks are marked "Completed". This functionality is not captured by Due Date or Date of Last Activity.

trigger DateCompleted on Task ( before insert, before update )
{
try
{
// task.DateCompleted = todaysDate();
// task.TimeCompleted = now;
}
catch ( Exception ex )
{
}
}

I'd appreciate your help on this - also (and related), I looked around for some time, but could not find a resource with a bunch of example Apex triggers - this would be really helpful.
  • January 13, 2009
  • Like
  • 1
Hi, I am new to apex trigger programming, though a long-time programmer.

I would like to track the date and time of day when tasks are marked "Completed". This functionality is not captured by Due Date or Date of Last Activity.

trigger DateCompleted on Task ( before insert, before update )
{
try
{
// task.DateCompleted = todaysDate();
// task.TimeCompleted = now;
}
catch ( Exception ex )
{
}
}

I'd appreciate your help on this - also (and related), I looked around for some time, but could not find a resource with a bunch of example Apex triggers - this would be really helpful.
  • January 13, 2009
  • Like
  • 1