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
4
votes
1 answer

Why can't class relationships in Salesforce managed packages be changed?

I have written an Apex class in a Salesforce managed package which uses the managed version of the apex-lang library package: global class MySorter implements al.Objectcomparator I am considering eliminating the dependency on the managed package by…
xn.
  • 14,918
  • 1
  • 24
  • 31
3
votes
1 answer

How to control the width of an apex inputfield in a VisualForce Page

Since the standard Page Layouts don't allow you to adjust the width of an inputfield bound to a text field, I'm trying to create a VisualForce Page but there isn't a width attribute for the apex:inputfield component. I think I will have to use…
Sam
  • 2,573
  • 10
  • 39
  • 58
3
votes
1 answer

Is it possible to subquery using SOSL?

I have a SOSL query that finds Salesforce Campaigns, and that's working just fine. However, I need to retrieve all Account Team Members for each returned Campaign. Is it possible to add a subquery to SOSL? Here's what I have so…
Matt K
  • 6,747
  • 5
  • 36
  • 60
3
votes
1 answer

Customer portal self registration error: "The account associated with this portal has no owner"

I'm working through the tutorial here to enable a Customer Portal for my site: http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites As suggested, I got an existing account ID (I used my own account, which is an admin…
Mike Chamberlain
  • 29,972
  • 27
  • 103
  • 151
3
votes
0 answers

Setting Corporate network proxy in Visual Studio Code?

I'm trying to use the Visual Studio Code IDE for Salesforce development. The IDE works fine in my personal network, where I can retrieve and upload the metadata file without any issue. When I connect to my office network I'm not able to do the…
Sunil Shenoy
  • 31
  • 1
  • 3
3
votes
1 answer

Force.com Toolkit for .NET class construct with QueryAsync when SQL query has a child/parent relationship

I'm running the following query which contains a child => parent relationship between Case and Account - and contains the Account.Name in the SELECT: string query = "SELECT Case.CaseNumber,Case.Account.Name,Case.Status FROM Case WHERE Status !=…
3
votes
1 answer

Mark specific records for update in Visualforce table

I created a search page that returns sets records using a custom controller and a Visualforce page. Users can update specific fields on individual records. I want to have the ability to save all the changed records at once, but the action command…
NebX
  • 33
  • 2
3
votes
1 answer

Deploying from a development org to a new unrelated org without a package

I've been struggling with the deployment of our force.com application code that has, up to now, been developed in a single development org I'll call DevOrg. What I want to do is transfer the DevOrg objects, code, pages, etc from DevOrg to a sandbox…
Ben Dixon
  • 31
  • 1
  • 3
3
votes
2 answers

Force.com OAuth 2.0 JWT to Google Service Account Fusion Table API 400 Bad Request Invalid_Grant

What I am trying to accomplish is to be able to upload data from Force.com into a Google Fusion Table held under the service account that has already been set up so that a network graph visualization can be generated based on that data and shown in…
3
votes
1 answer

force.com callout exception Unable to tunnel through proxy

We make a callout from one Salesforce org to another Salesforce org using the REST API. That worked until end of november. We didn't make any changes at the affected classes or configuration. Now, while sending a request to the rest api a callout…
user1902191
  • 31
  • 1
  • 2
3
votes
1 answer

angular js force.com Javascript remoting

I am new to Angular JS and really struggling to get data into my controller from javascript remoting. Has anyone done this before? Visualforce.remoting.Manager.invokeAction('{!$RemoteAction.Forecasting.Users}', new Object(),function(result,…
Adrian
  • 33
  • 5
3
votes
2 answers

How to call a method of a class into another class in apex

I want to use a method of a class onto another class. eg: public class controller 1{ public void method 1(){} } public class controller 2{ public void method 2() { } } I want to use method1 in…
AnuRaj
  • 233
  • 2
  • 5
  • 14
3
votes
4 answers

SOQL Aggregate query: Count number of rows returned

The following is my SOQL query: select COUNT(Id) FROM Payroll_Group_Detail__c where Tax_Batch__c=null and CreatedDate >=2012-07-21T00:00:00-05:00 and Total_Tax_Amount__c!=null GROUP By Company__c,Name,Payment_Date__c,Pay_Cycle_Type__c; I am was…
Richard N
  • 845
  • 9
  • 20
  • 35
3
votes
2 answers

Apex SOQL subquery in Visualforce

I am looking at showing a subquery SOQL query in an Visualforce page. This is my SOQL Expression. public ApexPages.StandardSetController setCon { get { if(setCon == null) { setCon = new…
Thys Andries Michels
  • 631
  • 4
  • 10
  • 22
3
votes
1 answer

Visualforce: How to display user's account using the $User

I have a visualforce component which I use for displaying the user's name. Currently I am doing it using the following: !$User.FirstName} {!$User.LastName} Is there any way I can display the User's Account as well using this without writing SOQL. I…
Richard N
  • 845
  • 9
  • 20
  • 35
1 2
3
21 22