Questions tagged [force.com]

A Platform-as-a-Service development environment created by Salesforce.com, which underlies the core Salesforce CRM functionality and is available as a platform via database.com, as well as via Heroku, a Ruby-on-Rails environment.

Force.com is a cloud based Platform-as-a-Service available for developers to applications hosted in a multi-tenant, cloud based environment with a combination of declarative development as well as through using the native Apex programming language.

Apex is based on Java and can be used to generate custom pages via the Visualforce markup language and components. The platform supports both SOAP and REST APIs for communications with other systems, and provides a database managed entirely through an web based UI, which leverages a query language called SOQL, which is heavily based on SQL.

325 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
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
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
18
votes
5 answers

Eclipse Git plugin - remove file from repo without deleting local

Using the Egit plugin, is it possible to permanently remove a file from source control without deleting the local copy? I.e., is there a GUI action equivalent to running "git rm --cached"? (Edited to simplify question)
naomi
  • 1,855
  • 1
  • 13
  • 28
17
votes
6 answers

How can multiple developers efficiently work on one force.com application?

The company I work for is building a managed force.com application as an integration with the service we provide. We are having issues working concurrently on the same set of files due to the shoddy tooling that is provided with the force.com…
Akrikos
  • 3,354
  • 2
  • 20
  • 20
13
votes
9 answers

Failed to create the part's controls in Eclipse with Salesforce

I have Eclipse Juno and Force.com IDE. When I try to create new classes they always show: failed to create the part's controls. It worked for the first time, but now they always show this. Same happens if I create them inside the force.com platform.…
user1970284
10
votes
1 answer

Force.com: User vs Account vs Role vs Profile vs Owner

I'm starting out with force.com development, and I'm currently a little hazy about what the above terms all mean. Could someone give an overview, and if possible explain how permissions are defined on each one (if at all)?
Mike Chamberlain
  • 29,972
  • 27
  • 103
  • 151
9
votes
2 answers

Set parameters with HTTP POST in Apex

I'm trying to set POST content using Apex. The example below sets the variables using GET PageReference newPage = Page.SOMEPAGE; SOMEPAGE.getParameters().put('id', someID); SOMEPAGE.getParameters().put('text', content); Is there any way for…
Sushant Rao
  • 464
  • 1
  • 4
  • 11
8
votes
4 answers

Writing a code formatting tool for a programming language

I'm looking into the feasibility of writing a code formatting tool for the Apex language, a Salesforce.com variation on Java, and perhams VisualForce, its tag based markup language. I have no idea on where to start this, apart from feeling/knowing…
Steven Herod
  • 734
  • 8
  • 19
8
votes
2 answers

No refresh_token in SalesForce OAuth Response

I'm interacting with a custom APEX service which obviously require OAuth authentication. I can easily authenticate and authorise my application. Everything works fine. However, the access token I receive tends to expire. Of course, I can refresh it…
Mike Borozdin
  • 1,038
  • 3
  • 12
  • 31
7
votes
4 answers

How to implement "Cancel" functionality in a VisualForce Page

I know that this is how to save a record I want a button to NOT save the current record (ie. Cancel) and navigate to the list of saved record (ie. list of objects for that object type). Something…
Sam
  • 2,573
  • 10
  • 39
  • 58
7
votes
1 answer

What is Apex Code? Is it related to Java?

I have being called for an training program for application development for Force.com. Since I am looking forward to work in a java based development environment, will it help me as a java developer in the future?
Thilok Gunawardena
  • 874
  • 5
  • 21
  • 42
7
votes
2 answers

Amazon S3: Strange Error -' Sometimes' SignatureDoesNotMatch, sometimes it does

I am developing code for salesforce. We are using 'Force.com for Amazon Web Services' App from Appexchange. The app is provided by Amazon. I am downloading files from Amazon S3 on a machine. Sometimes I am getting the below mentioned error.…
7
votes
2 answers

How to find out which checkboxes have been selected on the next page in VisualForce?

I have a data table which iterates through a custom object and generates checkboxes. On the second page, I want to determine which of these checkboxes have been selected. In the VisualForce page: Age
Matthew Moisen
  • 12,418
  • 23
  • 90
  • 195
6
votes
3 answers

How do I request a single random row from a force.com database in SOQL?

Total row-count is in the range 10k-100k rows. Can I use RAND() on force.com? Unfortunately although all the rows have a unique numeric identifier, there are many gaps, and I'd often want to select a random row from a filtered subset anyway. I…
Ollie C
  • 27,184
  • 33
  • 125
  • 211
1
2 3
21 22