Top "Salesforce" questions

A Platform-as-a-Service development environment delivered on Salesforce.

setWhatId in salesforce using email template

i have to send an email to a user in salesforce using email template.this template contain merge field type …

salesforce apex-code
Salesforce - Is it possible to display image file from ContentVersion to custom visualforce page?

I wrote one simple Visualforce page that let user upload an image file then save the file to ContentVersion object. …

image upload salesforce visualforce apex-code
VisualForce IF Statement - need to know syntax for "or"

I need help with the right VisualForce syntax to use "or" logic. The code I'm using is: <apex:page …

syntax salesforce visualforce
apex:commandButton in visualforce component does not call controller method

I have a commandButton in a visualforce component. The expected behavior is that the controller method would be called. The …

salesforce apex-code visualforce
How to show only extracted error message from Custom Validation on a Visualforce Page?

I have added few custom validations using Configuration for an object. I am inserting that object record through visualforce page. …

salesforce apex-code visualforce
Salesforce: Avoiding governor limits in Test classes across the board

I have not been able to get any reliable information about this issue online. But I think it must be …

salesforce apex-code force.com
Where to get client_id and client_secret of Salesforce API for Rails 3.2.11

I've been following a tutorial from: http://wiki.developerforce.com/page/Accessing_Salesforce_Data_From_Ruby But, I'm stuck with …

ruby-on-rails salesforce databasedotcom-gem
Web hook in salesforce?

I want to get notified when a new lead is created in Salesforce. Is there something like webhook in Salesforce …

api salesforce webhooks
SOQL Type conversion (SalesForce.com)

The problem is that I need to compare two fields of different types in a SOQL query. TextField is a …

type-conversion salesforce soql
array length in Salesforce

I'm getting error "Error Error: AddIMRConroller Compile Error: Initial term of field expression must be a concrete SObject: LIST at …

salesforce apex-code