Ask Search:
Chris DuncombeChris Duncombe 
Was informed today that I have been named a Salesforce MVP.  I just wanted to thank everyone as I know the nomination came from within the community.  I am honored and just wanted to say thank you  :)
Best Answer chosen by Chris Duncombe
Jackie DoanJackie Doan
Chris, let's mark a best answer to keep our community clean! 

Haha - had to bust your chops. :)
Jose María Nicolás ArfelisJose María Nicolás Arfelis 
Hi everybody,

I was wondering, why I can not see search layouts for some custom objects:

User-added imageOOr maybe I have to "extra" activate something somewhere, so I can see search layouts for these objects?.
Best Answer chosen by Jose María Nicolás Arfelis
Sunil SarillaSunil Sarilla
see the screenshot below
User-added image

To all,
Disclaimer: I am not a web developer.  I only write basic HTML code.

I have to create a web-to-lead form.  This is fairly straightforward using Setup > Customize > Leads > Web-to-Lead > Create Web-to-Lead Form button.

Here is some sample code that is relevant to my issue (first, last, e-mail, company fields):

<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">
<form action="" method="POST">
<input type=hidden name="oid" value="00Di0000000iuCr">
<input type=hidden name="retURL" value="">
<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>
<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>
<input type="submit" name="submit">

I can paste this in a test page on my web server (latest updated version of Windows 2003 running IIS).  This code works flawlessly.

I have been asked to change the code so that the First and Last name fields MUST be filled in.  If they are not filled in, the web page should fail to submit the information, and the person filling in the form should be notified with ERROR: Please fill in all required fields.

I am aware that there is code for validation and/or required, but all my research points me to making a form in java, PHP or another scripting language.

IS there a way to add code to a simple HTML page to make the fields mandatory.  If NOT, is there a work around that doesn't require me to hire a web developer to do the work.  I expect that there will be several versions of the form created and we modify the code frequently enough that I need to be able to do this on my own.

Many thanks in advance.


Paul Luciano, MCSE

Best Answer chosen by PAUL LUCIANO
Karthikeyan ChandranKarthikeyan Chandran
Hi Paul,

Use this in you Web-to-Lead form,

<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" required/><br>
<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" required/><br>

Hope this will help you.

Karthikeyan Chandran
Richard HoustonRichard Houston 

This might be a silly question as I don't have much experience in setting up SSO or redirects. But here goes.

How does one get a nicer URL for single sign on? 

Instead of: [sitename]

How could I get: salesforce.[sitename].com ?

Do I still need to create the custom my domain in salesforce? Then have the url created by our web admins to redirect to the [sitename] then the SSO page? 

Best Answer chosen by Richard Houston
David HindmanDavid Hindman
Hi Richard — Technically you wouldn't need My Domain to redirect a subdomain to, but My Domain is recommeded for security reasons, so I would keep it. Since My Domain has the standard format as you mentioned above, you won't be able to get the salesforce.[sitename].com url to persist once a login occurs, but the redirect should work either way.
Steven MillerSteven Miller 
Hi folks,

I have two PDF files that are reporting as corrupt in the most current version of reader.  The owner of the file is generally clueless as well but the timestamps are from November 2009.  But I have no idea what's in these files aside from text.  It may be mixed text/images or the result of a scan with OCR applied. I'm going to try some of the third party readers (like Foxit) to see if I have any better luck but while I'm downloading and installing those, does anyone have a suggestion or a tool that has had better than average results?
Best Answer chosen by Steven Miller
Thore NordliThore Nordli
Failure on versions:


However, I have had success with the "
PDF Recovery Toolbox " utility on one of the documents.  The second document comes out as gibberish, but with the gibberish in the right places so I'm thinking corrupted embedded font for that one.
Carolyn PriceCarolyn Price 
Hi All!

I'd like to include a dynamic choice dropdown menu in a flow. I want to show a list of Opportunity Contact Roles, using the full name of the Contact as the label.

Using a normal dynamic choice, I can only pull the fields from Opportunity Contact Roles as the label (ContactID, ID, etc.). Under normal circumstances, I would simply create a custom formula field to pull the information I need from the Contact object, but I can't in this case because Opportunity Contact Role is not a first-class object.

I thought I might be able to loop through existing Opportunity Contact Roles, save the Contact IDs to a variable (using "add" instead of "equals"), but for some reason it's still not working. (I've verified that the loop and assignment works properly, but the dropdown menu isn't populating.) I've included a screenshot of the dropdown menu below.

Any ideas?

User-added image

Thanks! Any suggestions would be much appreciated.
Best Answer chosen by Carolyn Price
Denver GreeneDenver Greene

Not sure if this is the best solution but I've used something similar in my org.

Create a custom object that has 3 fields, a lookup to Contact and Opportunity and Contact Name. This way you can use a first-class object. In your flow you can create records for this new custom object, which you can then use in your dynamic choice. And if you want to keep it clean, you can have the flow delete the records at the very end.

I just tested this in my org and it worked. My flow is as follows:
Fastlookup - opportunity contact roles related to opportunity.
Loop through collection
>Record Lookup - use loopvariable.contactID to get the Contact name
>Record Create - create a new record in your custom object. Set Contact Name, contact ID, and Opportunity ID.
Exit Loop.
Screen with picklist - Dynamic choice will lookup to the custom object. Everything with Opportunity ID. Choice Label can be contact name.
Fast Lookup - everything on custom object where ID is not null
Fast delete - the above.

This might not be the most bulk friendly, because it has lookups and creates within a loop, but unless they are choosing between 50 then it should be fine.

Angus LawrieAngus Lawrie 
Can you please help me 'coz whenever i open express outlook error is showing up and i can’t receive or send e-mails. it's written "An outlook express store file may be damaged. Pls. use utility such as scandisk to verify & repair any damaged
Best Answer chosen by Angus Lawrie
Aurel OrsosAurel Orsos
Or if this does not help, then you can try the tool OE-Mail Recovery.
OE-Mail Recovery is a powerful tool to recover Outlook Express emails from corrupt dbx files and mbx files. It can repair dbx/mbx files and recover emails in them as much as possible, so to minimize the loss in file corruption.
Hope this helps.
Renell CarpenterRenell Carpenter 
Just used a global picklist for the first time today in a client sandbox today and it seemed so wonderfully simple...but the 10 Opportunity custom picklist fields I created using the global picklist are grayed out/disabled (sort of like a dependent picklist) so I can't use them. I thought it might have to do with the fact that I have multiple Opportunity record types but can't seem to remedy the situation or find any suggestions online...any ideas?
User-added image
Best Answer chosen by Renell Carpenter
Renell CarpenterRenell Carpenter
Thank you Sandeep and Paul! I knew that had to be it but couldn't see the new picklists on the record type page -- because they were all listed together so I didn't "see" them!  Once I knew to look more closely I noticed them. Thanks for the quick responses
User-added image!
Damien OwenDamien Owen 
Hi guys,

This is more a question about personal preference within the community rather than an issue as such.

The following two formuals, if used in a validation rule, are indentical and do exactly the same thing. The only difference is that the first uses logical funtions AND() and OR() where as the second uses logical operators && and ||. 

Function 1 - Logical functions
             FieldA < 100,
              FieldA < 50,

Function 2 - Logical operators
(FieldA < 100 && $Profile.Name='ProfileA')
(FieldA < 50 && $Profile.Name='Profileb')

There preference in here seems always to use the syntax in the first example. Why is this? To me the second example reads better and is easier to interpret with the human eye.

It is in no way a criticism of any community members. There are plenty of members smarter than I am but I'm interested to hear everybody elses thoughts :)

Best Answer chosen by Damien Owen
Steve MolisSteve Molis
Hi Damien,
No offense taken, like I said I was only speaking fopr myself, that's the way I write formulas because it's what fit/flows the best for me as I think and write.  I don't have any programming background, never learned or studied Unix, SQL, Cobol, or any of the C languages, I'm just a self-taught SFDC Admin / Community College drop-out with a 0.67 GPA 
For me using < > = isn't as unnatural as && II because they're common operator I learned in basic math, whereas && II are not. 
Nathan ZellerNathan Zeller 
Can anyone show me how to add a total on this column? Thanks!

pic of where total needs to be
Best Answer chosen by Moderator ( 
Matthew LambMatthew Lamb
Click Customize, then in the report wizard hover your mouse over that column header. Click the down arrow that shows up and choose Summarize, then select Sum.