Ask Search:
Sephy WangSephy Wang 
Tell me why? all my questions are sovled by you guys.
Best Answer chosen by Sephy Wang
Steve MolisSteve Molis
Because it's just the right thing to do and the right way to treat someone.  People come here with their Salesforce questions, some of us have some Salesforce knowledge that can help them find the answer they are looking for, or at least help them get pointed in the right direction.  
It's no different than if I had a wristwatch and someone walked up to me and asked "Excuse me, do you know what time it is?"  I mean how could I not help that person???  They're asking for information, and I have that information (or can at least help them) and it costs me NOTHING, it takes MINIMAL physical effort on my behalf, it barely takes a moment of my time.  How could I simply walk away without giving them the time of day?  I just can't do that to someone, that's my "Why?".
Best Answer chosen by Moderator ( 
Dan StoneDan Stone
- Use Visual Force to add a live, interactive Google Map with zoom controls and maptype select buttons to Salesforce Accounts and Leads and other detail record pages:

Go to Your Name » Setup » Develop » Pages

Copy/paste the following code into a new Page replacing what appears by default.  Notice that in this example we're using custom fields for the Account address components:

<apex:page standardController="Account">
<apex:pageBlock >
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script> 
<script type="text/javascript"> 
$(document).ready(function() {
  var myOptions = {
    zoom: 20,
    mapTypeId: google.maps.MapTypeId.HYBRID,
    mapTypeControl: true
  var map;
  var marker;
  var geocoder = new google.maps.Geocoder();
  var address = "{!Account.Project_Street_Address__c}, " + "{!Account.Project_City__c}, " + "{!Account.Project_Zipcode__c}";
  var infowindow = new google.maps.InfoWindow({
    content: "<b>{!Account.Name}</b>"
  geocoder.geocode( { address: address}, function(results, status) {
    if (status == google.maps.GeocoderStatus.OK && results.length) {
      if (status != google.maps.GeocoderStatus.ZERO_RESULTS) {
        //create map
        map = new google.maps.Map(document.getElementById("map"), myOptions);
        //center map
        //create marker
        marker = new google.maps.Marker({
            position: results[0].geometry.location,
            map: map,
            title: "{!Account.Name}"
        //add listeners
        google.maps.event.addListener(marker, 'click', function() {
        google.maps.event.addListener(infowindow, 'closeclick', function() {
    } else {
      $('#map').css({'height' : '15px'});
      $('#map').html("Oops! {!Account.Name}'s address could not be found, please make sure the address is correct.");
  function resizeIframe() {
    var me =;
    if (me) {
      var iframes = parent.document.getElementsByName(me);
      if (iframes && iframes.length == 1) {
        height = document.body.offsetHeight;
        iframes[0].style.height = height + "px";
#map {
  font-family: Arial;
  line-height:normal !important;
<div id="map"></div> 

Live interactive Google Map in Salesforce Account detail page

Steve MolisSteve Molis 

Here's a custom button that I added to the Record Detail Pages on my SFDC Org.  It opens new email in the users default email program and with a link to the record in SFDC, and the Object and Record Name in the Email Subject.  It comes in handy when one of your more “technology challenged” users is having a problem with a specific record and you don't feel like having that awkward "What is a URL and Record ID???" conversation with them.  
(click to enlarge)

Best Answer chosen by Steve Molis
Steve MolisSteve Molis
Hi Pat,
It looks like you have "smart quotes" in your JS Code,


try using a neutral text editor like NotePad++ or something like that.

Best Answer chosen by Agnes Bassey
Subra_SFDC, Trinay Technology SolutionsSubra_SFDC, Trinay Technology Solutions
Sandbox data templates are only available for use with Full or Partial Data sandboxes.
Tiffany ChenTiffany Chen 
I built out a workflow rule in our sandbox environment and the workflow sends an email alert when criteria are met. 

I know there's nothing wrong with my evaluation crieteria because i added a test field update action and that worked fine. 

I know it's not my Outlook issue because I added my personal gmail as the additional email recipient and i still didn't get the email alert in my gmail inbox.

My email address in sandbox is the correct one (not with the .XXXXX at the end of email address).

The workflow rule is activated, and email template is available for use. 

Any ideas why i'm not getting the email alert?

Best Answer chosen by Moderator ( 
Subramanyam MeareSubramanyam Meare
With effect from Spring 13 release all the sandboxes are defaulted to send only System Emails,You could check it whether your sandboxes is set to send all emails by :-

Go--Setup---Administration setup---Email administration--Deliverability---& follow the below screenshot:-

User-added image

Hope it helps you.


andrew taylorandrew taylor 

Is there a way to change  Customer Portal user to a High Volume Portal user?

I tried changing a single record by changing the User License and Profile, but getting the following error:

"Error: Invalid Data.

Review all error messages below to correct your data.
cannot upgrade from or downgrade to LPU"
Best Answer chosen by andrew taylor
Marty ChangMarty Chang

Hello, Andrew, from what I can tell[1], you can only switch one Customer Portal license for another Customer Portal licenses. Oddly enough, I go tthe same error you described when trying to migrate from a Customer Portal license to a Customer Community license.

I've created a partial matrix[2] of "allowed" license changes in case that helps you make an administrative decision.

[1]: what I can tell (
[2]: a partial matrix (

Alex Hamilton-McLeodAlex Hamilton-McLeod 
Hi community,

I've been asked to add a visual representation at the top of a page layout of the progress of a particular process we have.

My thinking is to create a formula field with a nested IF statement and use images from the graphics pack to do this.

Is there a better (or easier) way to do this?
Best Answer chosen by Alex Hamilton-McLeod
Deepak K AnandDeepak K Anand

The easiest way is to go with the Formula Fields. But the concern is that you won't be able to show a status for every percent. You will have to decide and split them into say blocks like 0%, 25%, 50%, 75% and 100% and then upload images for each scale and finally show them via the IMAGE funtion in Formulas. Now, the more granular each block becomes, more will be the number of images tha you will have to upload.

Now, another way is to make use of jQuery and Visualforce to create very Dynamic and Interactive Progress Bars. This should be easy to impent and all that you will need is to write some JavaScript. Now since Visualforce is available on every Sales Cloud edition, we should be able to get it done irrespective of the edition that you are on. And I bet you that it will catch the Users attention faster!

Take a look at this:

Shout it if you feel this is doable and we could get it goin!
Michael GillMichael Gill 
I would expect user with this profile not to be able to access Salesforce1 - what do you think?
User-added image

I can still access Salesforce1 on my Ipad. I have revoked the connected app permission. Strange
Best Answer chosen by Michael Gill
Michael GillMichael Gill
Enable API - agree with that, but wasn't sure.

Salesforce1 user - this is for browser access to Salesforce1, even with this unchecked I can access Salesforce1 via the mobile app.

But after reading the online help which I should have done in the first place. Access is controlled via the Connected Apps feature from the setup menu. You cannot manage access at the profile level.

Subra_SFDC, Trinay Technology SolutionsSubra_SFDC, Trinay Technology Solutions 
It will be really nice if community members having the options for getting Notification mail for posting questions in user community

User-added image

Currently we have the options in user community

1.Notify me when peole reply my questions and ideas
2. Send me the Appexchange weekly didgests
3.Allow people contact me directly


Update chatter notifications
Update Answer Notifications

But there is no option for notification mail for user posting community to comunity members

It will helps each time the community members getting the questions and answering quickly and solved the problem in fraction of time.

Please promote idea if u like...

any thoughts??
Best Answer chosen by Subra_SFDC, Trinay Technology Solutions
Johan YuJohan Yu
Yes, optional is always good.
It even better if can popup into a chatter desktop :)
Jeff TestermanJeff Testerman 
I need 'Times Pushed' to count how many times 'Est Go Live Date' has been pushed back. Both of the fields are on the Opportunity layout. I really need some help in creating this 'Times Pushed' field. 

If anyone can tell me how to create the "Times Pushed' that will count how many times the field 'Est Go Live Date' has been pushed back please let me know!

Thank you!
Best Answer chosen by Jeff Testerman
Deepak K AnandDeepak K Anand

What's the edition of the Org ? Are you atleast on the Enterprise Edition ? If so we might be able to get around using the Workflow Rules and Field Updates feature.