Questions tagged [salesforce]

A Platform-as-a-Service development environment delivered on Salesforce.com - the platform is more correctly referred to as Force.com. A dedicated Salesforce Stack Exchange is available for all your Salesforce questions at https://salesforce.stackexchange.com/

Salesforce often refers to the Sales Cloud (CRM), Marketing Cloud (formerly ExactTarget), or Force.com (cloud platform) products that Salesforce.com (an enterprise cloud computing company) offers. It is also considered to be PaaS (Platform as a Service) that extends the kind of solutions(Customizations) that it can offer. Heroku is also a part of the greater Salesforce Platform, but for clarity, Heroku-related questions should use the tag.

Sales Cloud Enterprise or Unlimited Edition and Force.com support a proprietary programming language called Apex (similar to Java) and a markup language called Visualforce (similar to JavaServer Faces) for creating interfaces or pages. Also, with the release of the Salesforce UI known as the Lightning Experience, Salesforce development can use Lightning Components, which fit into a UI framework technology based on the open-source Aura. Querying the back-end database occurs through the Salesforce Object Query Language (SOQL, similar to SQL), while data manipulation in Apex occurs through the Data Manipulation Language (DML).

There is also a set of Api's available for accessing Salesforce services from external applications, namely:

  • Rest Api - provides access to data and descriptions of some org metadata
  • Soap Api - provides similar functionality to the Rest Api
  • Metadata Api - used for deploying code and configuration changes to a salesforce org. There are existing deployment tools available, but this api allows the possibility of creating your own.
  • Tooling Api - for making individual changes to org metadata.
  • Bulk Api - for working with large amounts of data.

Salesforce applications can be created without coding. A description of the data types is enough to generate a basic user interface for interacting with the data, and the platform allows behavior to be described using formulas and workflows. Apex and Visualforce are used to program more complex behavior.

Since questions which relate primarily to the declarative side (i.e. clicks not code) of Salesforce development do not belong on Stack Overflow, the Salesforce Stack Exchange is now live, with the intention of providing a forum for such questions.


Useful links

Frequently Asked Questions

People often ask about the following Salesforce topics:

8834 questions
89
votes
9 answers

Disadvantages of the Force.com platform

We're currently looking at using the Force.com platform as our development platform and the sales guys and the force.com website are full of reasons why it's the best platform in the world. What I'm looking for, though, is some real disadvantages to…
lomaxx
  • 104,787
  • 56
  • 140
  • 177
88
votes
7 answers

When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com?

I am asking this in very general sense. Both from cloud provider and cloud consumer's perspective. Also the question is not for any specific kind of application (in fact the intention is to know which type of applications/domains can fit into which…
user32262
  • 8,106
  • 21
  • 58
  • 77
81
votes
12 answers

Salesforce Authentication Failing

I am trying to use OAuth authentication to get the Salesforce Authentication Token, so I referred wiki docs, but after getting authorization code, when I make a Post request with 5 required parameters, I'm getting following exception…
Vardan Gupta
  • 3,265
  • 5
  • 26
  • 39
38
votes
1 answer

Deserializing JToken content to an Object

I want to deserialize JToken content to an object (User). How am I able to do this? Here is my json string: string json = @"[{""UserId"":0,""Username"":""jj.stranger"",""FirstName"":""JJ"",""LastName"":""stranger""}]"; This being sent to an api…
Robert Mansion
  • 387
  • 1
  • 3
  • 10
37
votes
8 answers

What are salesforce.com and Apex like as an application development platform?

I have recently discovered that salesforce.com is much more than an online CRM after coming across a Morrison's Case Study in which they develop a works management application. I've been trying it out with a view to recreating our own Works…
mhollers
  • 371
  • 1
  • 3
  • 3
32
votes
5 answers

How to avoid MIXED_DML_OPERATION error in Salesforce tests that create Users

Sometimes in Salesforce tests you need to create User objects to run part of the test as a speciifc type of user. However since the Salesforce Summer 08 update, attempts to create both User objects and normal objects (such as Accounts) in the same…
codeulike
  • 20,946
  • 27
  • 113
  • 161
32
votes
1 answer

Including local jar file in project at build time using gradle

I want to include enterprise.jar file of salesforce in my project at build time using gradle Could anyone help me out how to include a local jar file that exists in src/main/resources folder in my project.
Sonam Daultani
  • 731
  • 3
  • 9
  • 18
31
votes
2 answers

Map Custom fields of Leads in Salesforce

I wanted to map custom fields of lead to map with custom field of contact' when converted using binding.convertLead(). It should replicate the behaviour what we are manually doing from UI when custom fields of Lead are mapped with contact (Navigate…
Ashish Upadhyay
  • 445
  • 3
  • 9
27
votes
2 answers

How to format a date in VisualForce?

In Salesforce, if I'm binding a date into a VisualForce page, how do I apply custom formatting to it? Example:

{!contact.Birthdate}

codeulike
  • 20,946
  • 27
  • 113
  • 161
25
votes
8 answers

Validating a Salesforce Id

Is there a way to validate a Salesforce ID, maybe using RegEx? They are normally 15 chars or 18 chars but do they follow a pattern that we can use to check that it's a valid id.
Anup
  • 771
  • 2
  • 8
  • 25
25
votes
7 answers

Salesforce - How to Deploy between Environments (Sandboxes, Live etc)

We're looking into setting up a proper deployment process. From what I've read there seems to be 4 methods of doing this. Copy & Paste -- We don't want to do this Using the "Package" mechanism built into the Salesforce Web Interface Eclipse Force…
danswain
  • 4,131
  • 4
  • 35
  • 43
24
votes
2 answers

Best Practices for Managed SalesForce App Development?

We're developing applications for AppExchange and are trying to figure out the best way to do development and release management. There are several issues around this: 1) Package Prefixes. We are developing code in unmanaged mode and releasing as…
Fiid
  • 1,762
  • 10
  • 21
20
votes
5 answers

How do I avoid STANDARD_PRICE_NOT_DEFINED when unit-testing an OpportunityLineItem in Apex v24.0?

Apparently a new feature of the Spring '12 / v24.0 release of Apex in Salesforce.com is that unit tests no longer have access to 'real' data -- thus (if I'm understanding the change correctly) a SOQL query will now only retrieve objects that have…
Ben Dunlap
  • 1,753
  • 1
  • 15
  • 17
19
votes
1 answer

Federated authentication and Delegated authentication in salesforce

Anybody know the difference between Federated authentication and Delegated authentication in salesforce? Can you explain the flow of request in these two methods?
Mohammed H
  • 6,326
  • 12
  • 72
  • 119
18
votes
10 answers

How do I detect the environment in Salesforce?

I am integrating our back end systems with Salesforce using the web services. I have production and stage environments running on different URLs. I need to be able to have the endpoint of the web service call be different depending on whether the…
Craig Harris
  • 536
  • 1
  • 3
  • 11
1
2 3
99 100