Ask Search:
Anthony MastersonAnthony Masterson 
I created a campaign, and a web-to-lead form. I tried to include a hidden field to track the particular campaign. Below is the code I used.
When I check the campaign in Salesforce, it shows no members. I'm trying to figure out how to assign new leads to a particular campaign.


<input type="hidden" name="Campaign_ID" id="701C0000001EZpI" value="SSW-2017">
Best Answer chosen by Anthony Masterson
Thorsten KöbeThorsten Köbe
Please take a look at

https://help.salesforce.com/articleView?id=000006417&type=1

It seems that your Syntax is not correct and that you also need to provide a member Städte.
Justin NJustin N 
This is an answer to a question I had. 

I wanted to add a Time Zone field to leads and contacts so reps could call people at the appropriate time. 

Brent Mellow at akaCRM created a great formula based on area code which you can find here: http://www.akacrm.com/blog/35-sfdc-insight/148-finding-time-zone-for-contacts.html

His formula is just for US area codes. I expanded it to include Canadian area codes: 

if( ISBLANK(Phone),"--",
 
if( CONTAINS("206:209:213:253:310:323:360:408:415:425:503:509:510:530:559:562:604:619:626:650:661:702:707:714:760:775:778:805:818:831:858:867:909:916:925:949:951:971:236:250:604:778:867", left(SUBSTITUTE( Phone , "(", ""),3)),"UTC-8 Pacific",
 
if(
CONTAINS("208:250:303:307:385403:406:435:480:505:520:602:623:719:720:780:801:928:970:403:587:780", left(SUBSTITUTE( Phone , "(", ""),3)),"UTC-7 Mountain",
 
if(
CONTAINS("204:205:210:214:217:218:224:225:228:251:254:256:262:270:281:306:308:309:312:314:316:318:319:320:325:334:337:361:402:405:409:414:417:430:432:469:479:501:504:507:512:515:563:573:580:601:605:608:612:615:618:620:630:636:641:651:660:662:682:708:712:713:715:731:763:769:773:785:806:815:816:817:830:832:847:901:903:913:915:918:920:931:936:940:952:956:972:979:985:204:306:431:639:807", left(SUBSTITUTE( Phone , "(", ""),3)),"UTC-6 Central",
 
if(
CONTAINS("201:202:203:207:212:215:216:219:226:229:231:234:239:240:248:252:267:269:276:289:301:302:304:305:313:315:321:330:336:339:345:347:351:352:386:404:407:410:412:416:418:419:434:438:440:443:450:470:475:478:484:502:508:513:514:516:517:518:519:540:551:561:567:570:571:585:586:603:606:607:609:610:613:614:616:617:631:646:647:649:678:703:704:705:706:716:717:718:724:727:732:734:740:754:757:770:772:774:781:786:802:803:804:810:813:814:819:828:835:843:845:848:856:857:859:860:862:863:864:865:876:878:904:905:908:910:912:914:917:919:937:941:947:954:959:973:978:980:226:249:289:343:365:416:437:438:450:514:519:579:581:613:647:705:819:873:905", left(SUBSTITUTE( Phone , "(", ""),3)),"UTC-5 Eastern",
 
if(
CONTAINS("506:709:902",LEFT(SUBSTITUTE(Phone,"(",""),3)),"UTC-4 Atlantic",
 
if(
CONTAINS("800:877",LEFT(SUBSTITUTE(Phone,"(",""),3)),"Toll Free","Other"
 
)))))))


If anyone has other ways of managing time zone data I 'd be interested to here it. 
Best Answer chosen by Miglena (Salesforce.com) 
Justin NJustin N
Hey Admin, building custom formula fields should be possible in all editions.

Your custom field needs to be of data type "formula," -- not a picklist -- then paste the timezone formula in. You'd need to create a field on both the Lead and Contact record with thes ame formula.

Here's a screenshot from my instance

User-added image
chandra sekharchandra sekhar 
Then after publishing the changes if I delete any tab on 2nd page variation page it is automatically deleting same tab on 1st page so is there any solution I want to show only chat tab in 2nd page variation but this is not helping me so please post your answers, Any clue and how we can achieve this
Best Answer chosen by chandra sekhar
EdEd (salesforce.com) 
Hi Chandra,

This appears to be a feature request defined on the following Idea:
https://success.salesforce.com/ideaView?id=0873A000000COYpQAO

Thanks!
Anita CafieroAnita Cafiero 
Hello,
I need help sorting out two issues (Problem 1 & Problem 2):

Problem 1 
I need a validation rule that will hand the following:

Leads cannot be converted unless Lead Stage = AE Qualified

Company isn't using Lead Status to track for this purpose, they've created a custom picklist field and AE Qualified is an option. AE Qualified carries it's own validation, so as long as that has passed, conversion should be allowed. 

I have tried and failed with many variations, most recently:

AND ( 
IsConverted = TRUE, 
NOT(ISPICKVAL(Lead_Stage__c , "5. AE Qualified")) 
)

Problem 2 -

For Lead Stage = AE Qualified, I need to set up a rule that will prevent the Stage assignment unless the following is true:

A group of fields have been filled in (see below) OR one of two checkboxes are checked

If I omit the need to check for the checkboxes, what I have written works as follows:

AND( 
ISPICKVAL(Lead_Stage__c , "5. AE Qualified"), 
OR( 
ISBLANK(TEXT( Budget__c )), 
ISBLANK( TEXT(Budget_Authority__c)), 
ISBLANK(TEXT (Timeline__c )), 
ISBLANK( AE_Qualification_Notes__c ), 
ISBLANK(TEXT(Industry)), 
ISBLANK(Territory__c), 
ISBLANK( TEXT(CRM_System__c )), 
ISBLANK(TEXT( Marketing_Automation__c)) 

)

 
Best Answer chosen by Anita Cafiero
Nitish SinghalNitish Singhal
Problem 1:
Your validation rule should be:
 
AND( IsConverted, NOT( TEXT( PRIORVALUE(Lead_Stage__c) )  = "5. AE Qualified") )

Problem 2:
You can write validation like this:
 
AND( 
ISPICKVAL(Lead_Stage__c , "5. AE Qualified"), 
OR( 
ISBLANK(TEXT( Budget__c )), 
ISBLANK( TEXT(Budget_Authority__c)), 
ISBLANK(TEXT (Timeline__c )), 
ISBLANK( AE_Qualification_Notes__c ), 
ISBLANK(TEXT(Industry)), 
ISBLANK(Territory__c), 
ISBLANK( TEXT(CRM_System__c )), 
ISBLANK(TEXT( Marketing_Automation__c)) 
),
NOT(Checkbox1__c),
NOT(Checkbox2__c)
)

Give it a try. 

Thanks
Daniel MuirDaniel Muir 
Hi all,

We would like to use the same field twice in a quote template. We need the "prepared by" email field to appear twice, in areas of the quote that we chose. 

I would have thought using a custom lookup field would have worked, but I don't seem to be able to link to anything but the "user" object. 

Would a formual field work here? 
Best Answer chosen by Miglena (Salesforce.com) 
David HalesDavid Hales
Hi Daniel,

Do you want to populate it on an output of any form or just a template?

If this is a simple template then you can simply use the same api (field_Name__c) twice to populate the same value in your template.

Thanks & Regards,
David Hales 
KSPL (1071)
Denise CrosbyDenise Crosby 
In Salesforce1, we have buttons across the bottom for "Log a call", "New Event", "New Task" etc. What's the easiest/fastest way to access these same functions in the Lightning version of the desktop app without having to first find an Account, Opportunity, etc?
Best Answer chosen by Denise Crosby
Jeff MayJeff May
You can't.  In Lightning, the actions are all located on a record -- so you have to go to a record, then use the Quick Actions available on that record.
jeremy gibsonjeremy gibson 
 I have Group Edition.
I can add custom fields to Accounts & Contacts, but no capability for similar in Tasks.
Is this possible, I do not seem to have the option to add custom fields in any Task fields view.

Regards
Jeremy
Best Answer chosen by Miglena (Salesforce.com) 
Steve MolisSteve Molis
 You need to create them on the Activity object, Tasks and Events are types of Activities.
Best Answer chosen by Adam Lowy
Deepak AnandDeepak Anand
Then this = 
AND(
    Amount > 0,
    LOWER(TEXT(StageName)) = "$ received",
    ISBLANK(TEXT(Payment_Method__c))
)
Joe HackingJoe Hacking 
Hi.  I am writing a validation rule on a field on the contact tab called Primary Liaison.  In order for the user to be able to indicate that a contact is a Primary Liaison for a particular service, the Account has to have that Service field populated.  The current validation works great, but as the field is for Liaisions who are either Back-up OR CareDirect services, I have to check TWO fields on the Account page.  I can't figure out how to have the formula do an OR statement.  Here's the code I have that works for the single field check:

AND ( 
ISBLANK( Account.Backup__c ), 
Primary_Liaison_Back_up_CareDirect__c = TRUE, 
NOT($User.ProfileId="00e00000006oiNA") 
)

Account.Backup__c is the Back-up field on the Account and Account.CareDirect__c is the other field that I've been trying to add to the formula.  If either of these fields are populated, the validation rule should allow the Primary_Liaision_Back_up_CareDirect__c field to be TRUE.  If neither field is populated, it should fire the error.

Thanks,
Joe
Best Answer chosen by Joe Hacking
Mayank SrivastavaMayank Srivastava
Use this then:
AND ( 
    ISBLANK( Account.Backup__c ), 
    ISBLANK( TEXT(Account.CareDirect__c )),
    Primary_Liaison_Back_up_CareDirect__c = TRUE, 
    NOT($User.ProfileId="00e00000006oiNA") 
)

 
Sarah AlbersSarah Albers 

I want not only the date, but the time of creation to show up in a report on a custom object.  I would like to capture records created today (or 1 day) and sort them by time of creation. 

It does appear to be sorting based on time of creation, but the only evidence of this is if we open the record and check.  How can I get it to show up in the report?

Thanks friends!

Best Answer chosen by Moderator (salesforce.com) 
Steve MolisSteve Molis
Hi Sarah,
You can do that by creating a custom Formula Field (DateTime) and insert CreatedDate in the Formula Wizard.  

PS.  Don't ask me why this works, it just does.