Top "Salesforce" questions

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

How to implement "Cancel" functionality in a VisualForce Page

I know that this is how to save a record <apex:commandButton action="{!save}" value="Save"/> I want …

salesforce apex-code visualforce force.com
How to get in a Visualforce page controller a value from a custom component controller?

I'm trying do develop a visualforce custom component which is an entity chooser. This custom component displays a UI which …

salesforce apex-code visualforce
Is the SWITCH and CASE statement supported in APEX in Salesforce?

Instead of this basic structure with IF / THEN / ELSEIF / ELSE int month = 8; String monthString; if (month == 1) { monthString = "January"; } else if (…

salesforce apex
SAML Signature verification failed

Our IdP is a Salesforce.com org. The SP is a third party .Net application. During development, the 3rd party …

salesforce x509certificate saml-2.0 component-space
Accessing Salesforce Webservice API using C#

I havent worked with that Salesforce API before, so I am a bit stuck on how to connect to the …

c# salesforce
56 Received HTTP code 403 from proxy after CONNECT?

I am getting an "56 Received HTTP code 403 from proxy after CONNECT" Error while generating a lead to salesforce using cUrl …

php curl salesforce ssl-certificate php-openssl
Join an array of strings in Apex

Using Apex, I want to split a string and then rejoin it with the 'AND' operator as the separator. I …

salesforce apex-code
How do I display the results of an aggregate SOQL query on a Visualforce page?

I'm very new to Visualforce. I'm looking at this page here: http://force.siddheshkabe.co.in/2010/11/displaying-aggregate-result-on.html So when …

salesforce visualforce soql
FIELD_CUSTOM_VALIDATION_EXCEPTION

I am writing a test class for a trigger. But i am not able to run it properly it only …

salesforce apex
"HTTP Status 401 - Authentication Failed: Incoming SAML message is invalid" with Salesforce as IdP for implementating SSO

I've implemented SSO using Spring SAML and everything is working fine. It worked with the following IDP's till now: 1) idp.…

spring-security salesforce single-sign-on saml-2.0 spring-saml