Questions tagged [java]

Java is a computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible.

Filter by
Sorted by
Tagged with
2
votes
0answers
211 views

Placing external data onto Salesforce.com platform?

I've been trying to follow the link shown below to upload data via the bulk API tutorial from my external website onto the Salesforce.com platform: http://www.salesforce.com/us/developer/docs/...
0
votes
0answers
543 views

unable to create user with REST api email

Hi I am using REST API to create new USER, when i am extracting the meta data using the /services/data/v20.0/sobjects/User/describe the label for 'Email' field is shown as 'E-mail' whereas on ...
2
votes
1answer
664 views

How do I set an Account object's type with the Partner API?

I'm trying to use the partner API to upsert Account objects: SObject account = new SObject(); account.setType("Account"); // set some fields account.setField("Name", "Spacely Sprockets"); // write ...
1
vote
2answers
1k views

Rest API Session ID SOAP Partner Connection

I have a REST access token and would like to use that access token in my PartnerConnection ConnectionConfig to make a Bulk API call. It does not seem to work as I get an message to set my Service ...
4
votes
1answer
168 views

How expensive is isDone() in java metadata api

I found the following code example online: long waitTimeMilliSecs = ONE_SECOND; // After the create() call completes, we must poll the results of the checkStatus() // call until it ...
8
votes
1answer
4k views

REST API: How to update active values for picklist?

I need to update the Picklist values for a custom field on a custom object. I have already populated the Available Values via the Enterprise and Metadata Java APIs, but now I need to move the newly ...
0
votes
2answers
1k views

Creation of Batches from CSV resulting in erroneous state

I'm trying to make batches from a CSV file written using CSVWriter of opencsv as: CSVWriter writer = new CSVWriter(new FileWriter(filePath+createFileName), ',', CSVWriter.DEFAULT_QUOTE_CHARACTER); ...
3
votes
2answers
4k views

How to add a field using the SOAP or other API

I am using the SOAP API to load data for multiple SObject types into a completely new Developer sandbox. I have manually added external ids to many of the objects through the native interface so that ...