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

learn more… | top users | synonyms

1
vote
2answers
29 views

How to disabe API user session timeout?

I have currently developed a Java API client that connect against the Salesforce instance of my company. Using the following tutorial: ...
0
votes
0answers
17 views

Update Subscriber Status in the list via Fuel-SDK (Java)

I am using FuelSDK (Java) for development. I want to update the subscriber status in the specific list but not All subscribers list. Refer to ...
1
vote
1answer
39 views

Security on Connecting to Salesforce from a Java app

I was trying to connect to Salesforce and migrate data from mySQL database to Salesforce using Java. During the connection process I found that we have to give the Username, Password and oAuth token ...
0
votes
1answer
37 views

OAuth worked initially, but failed with 401 on the next day & subsequent

I'm working from https://developer.salesforce.com/page/Integrating_Java_Spring_Apps_on_Heroku_with_Force.com_REST_APIs On the first day, I got everything to work with localhost, so if I opened ...
0
votes
1answer
52 views

How to export data using reports from SFDC programmatically?

We have an issue where we have to manually click Export Report on SFDC reports though the UI on many reports. These reports have several filters and filter logic such as "(1 or 2) AND (4 AND 1)" and ...
1
vote
0answers
33 views

Not able to insert record into a custom object

I am having some difficulty inserting a row into a custom object. I am writing a java application that will insert rows into a custom salesforce object. There is no exception that is thrown, so I ...
0
votes
1answer
25 views

Java - like Apex for SOBJECTS

Sorry, I don't know if this is a proper context to make this question, but I don't know where to make this question. I write here because I immagine that a lot for today apex programmers has been ...
2
votes
2answers
67 views

Salesforce Metadata Api/ Tooling Api to build changesets

I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets. Building changesets is very tedious when trying ...
0
votes
0answers
9 views

Java - Automating WSC connector after Salesforce update

This is due to Salesforce's update on my organization where there were a few modifications on how I could query. For example, due to the change with the latest version (thread), FeedItem does not ...
0
votes
1answer
37 views

Java Fuel-SDK searching Data Extension for Email

We are using the Java Fuel-SDK 1.0.3 to select a row with a specific email address from a Data Extension. The existing documentation either says ‘Coming soon!’ or points to the Javadoc. While the ...
3
votes
2answers
94 views

Need some help with jquery plugin select2 and VF page

I am trying to use jquery plugin select2 in my VF page to make the select look better. For some reason i cant get it to work. I have loaded in all the js and css as static resources. There is no ...
1
vote
1answer
69 views

Salesforce SOAP API SessionRenewer implementations

I am handling a large query of a Salesforce object through SOAP API which takes more than the timeout. Frequent error message is INVALID_SESSION_ID. I have used the queries throughout every code and ...
0
votes
0answers
35 views

How to pass Key&value(parameter) in http post request using 'multipart/form-data' header?

I want to pass parameter to endpoint. Keys are: emailSubject, emailTo, emailFrom & etc. Here is my code. same code is working for 'application/x-www-form-urlencoded' & ...
3
votes
1answer
515 views

Can Data Loader run with 64-bit Java?

I have uninstalled all old versions of the data loader and installed the newest one: 36.0.0 I cleaned up all Java stuff on my 64-bit Win 7 machine and there's only one version left, it's this version ...
0
votes
1answer
34 views

Tracking information from ExactTarget using FuelSDK for Java

I'm trying to get Tracking information from ExactTarget using FueldSDK for Java, but it doesn't seem to include the class ETOpenEvent as in other languages. For example, with C# you can do this: ...
0
votes
1answer
28 views

undelete records using java code?

Hi while i am saving this code getting error: public class deletetion{ public void undeleteRecords() { try { QueryResult qResult = connection .queryAll('SELECT Id, ...
0
votes
1answer
41 views

External Data Source own webservice [closed]

[TASK]Salesforce integration with external database (e.g. PostgreSQL) [GOAL] Integration without using external system e.g. Informatica, Lightning connect [TO DO] Build own webservice (Java). Connect ...
0
votes
0answers
34 views

unsubscribe from single list using java API

using com.exacttarget:fuelsdk:1.1.0, I am trying to unsubscribe a subscriber from a single publication list only. I can retrieve the ETSubscriber.Subscription objects easily and call ...
1
vote
4answers
129 views

REVIEWED: Why I see the count of completed/queued/errored on Triggered Sends to 0, despite return msg of API call is “Triggered Has Been Send queued”?

Why I see the count of completed/queued/errored on Triggered Sends to 0, despite the return message of API call is "Triggered Has Been Send queued"? REVIEW: I tried the sames scripts on another ORG ...
2
votes
2answers
30 views

Database.Query give wrong result

Check these Screen Shots See the Query here which is wrong: See the result here help me out to resolve the issue. Thanks in Advance,
1
vote
1answer
37 views

Issue inserting Recordtype for object

I am writing a JAVA-application that mainly functions as a CRUD-platform for my employees. On this application, users can manage data from a specific objects. I am using REST-API. Now, here is my ...
0
votes
0answers
14 views

How do I set attributes to Subscriber in FuelSDK?

How do I set attributes to Subscriber in FuelSDK? Looking at the java fuelsdk source, attributes are commented out... ...
0
votes
1answer
22 views

Having problem in adding action on VF page button

Below is my VF and controller,i am having trouble in adding action on commandbutton on VF page. if i add searchEvent in commantbutton action it will create new class. i want to do like that when ...
1
vote
0answers
56 views

Invalid Query Locator in REST API

When making a REST API query call from a Java client I'm getting an INVALID_QUERY_LOCATOR error. I'm familiar with the limitation around 10 query locators in the same time and in my code I'm avoiding ...
0
votes
1answer
15 views

Java FuelSDK client fails when the process is running under Executor

It seems that current version of Java FuelSDK (v 1.1.0) does not want to run in multithreaded setup with Executor. It fails quietly with no sign of the problems or exceptions thrown. Did anybody ...
1
vote
0answers
63 views

Salesforce error with certificate issue

In our application we are using two way ssl that to send the data in soap api with request and response. it is the communication between salesforce and java. java is server and salesforce is client. ...
0
votes
1answer
31 views

Save Event to Salesforce without losing time [closed]

How to save an Event without losing time? I have tried: set("StartDateTime")(new Date()) set("StartDateTime")(Calendar.newInstance()) - throws an error that value not of required type
0
votes
1answer
30 views

Why can I not add a “Description” when creating a new Lead from Code?

I made a small Java Project to connect to Salesforce and get Leads and Create some new. Got into a problem of creating a new Lead with the "description" property even if i saw the property exists in ...
0
votes
1answer
30 views

Cannot use “and” operand to filter ETDataExtensionRow

Now, I'm working on Java Fuel-SDK and I need to use "and" on select method. I look on example code of Fuel-SDK, I found ET deprecated ETFilter and put "SQL like" syntax on method, Example. @Test ...
-1
votes
2answers
81 views

How to pass the array values from the javascript to apex controller and later store in custome object?

I am trying to get the values from javascript which is in array, to the apex controller and later save it. When I check the debug logs, I see null value in it. Need help. Below is my code. I tried ...
0
votes
1answer
69 views

Does the REST API or Fuel Java SDK support triggered sends with attributes?

I'm having trouble finding an example or instructions on how to make triggered sends with dynamic attributes using Fuel Java SDK or the REST API. Example: for this template below, I'd like to be ...
0
votes
1answer
38 views

Developing java integration with Fuel SDK

I am starting to develop the connection between my system and the one from Exact Target, but having some troubles. I tried to follow this example, but many functions do not work anymore or are ...
1
vote
1answer
55 views

What are the best ways to learn Salesforce? [duplicate]

What would be the transition time for a PHP/Java developer to salesforce developer? What is the best way of learning salesforce development? Do I need to have the CRM knowledge of salesforce to ...
1
vote
1answer
47 views

Connection via Java results in com.sforce.soap.apex-error

I am a little bit confused. I am a long term SF-developer who is now making his first steps with Java. I just wanted to make a connectiontest with this page: ...
1
vote
0answers
32 views

How to filter by date in fuelsdk 1.1.0?

Could you help, I don't know how to filter by date on fuel-sdk. I just want to retrive data after "2015-11-10". I look on Fuel-SDK unit test and not found anything relate to filter by date. I try ...
1
vote
1answer
38 views

Fuel Java sdk subexpression is not appearing to work

Attempting to use the java fuel sdk to pull data from a data extension table. In that table there is a date column which I am trying to create a filter with expression to get rows between two dates. ...
0
votes
0answers
53 views

Java FuelSdk - How to iterate through more results

I am using the java fuel sdk and have successfully retreived a dataextension object. Also using the select function on the data extension object to retreive my filtered rows. The issue I am having ...
0
votes
0answers
98 views

How to attach file using Rest api Java?

Can some budyy help me out. How to upload attachment using Rest REST API Attachment I am following this link. Is there any sample code available? Any help appreciated.
0
votes
1answer
47 views

soap enterprise jar package for java

I need jar file for this lib import com.sforce.soap.enterprise.DeleteResult; import com.sforce.soap.enterprise.DescribeGlobalResult; import ...
1
vote
2answers
263 views

Apex: HTML Button + ActionSupport calling the wrong Method on click

So this is a weird one. I have two buttons in a Table Column. They are HTML buttons with action support. When I click on the first one, it runs the second button's Method. When I comment out the ...
0
votes
0answers
25 views

Fuel API - Java Error Using Filter With Special Character

I am using the filter object in java API against a data extension text field. When I run the filter I get an exception. Please could anyone advise what is wrong here and how I can work around it? My ...
0
votes
0answers
46 views

Connection Reset Exception while upserting 20k records

Can anyone tell me how to resolve the below error while uploading 20k records.but it works fine if it is 10k. AxisFault faultCode: ...
0
votes
0answers
27 views

Help with Java SOAP cast from sObject to ContentVersion

After looking around, and making 2 questions that didn't really have any answers, I found a means to publish a user's private library CRM content to a public or shared library in the Java example code ...
0
votes
0answers
18 views

authenticate salesforce app with email and security token in android salesforce sdk

I am using Salesforce Android SDK. I want to authenticate in the application with my own salesforce email and password automatically. Is there any way that I can hard code my email and security token ...
0
votes
0answers
45 views

Annotation Error from with FuelSdk

I have a fuelsdk application that we have been running successfully for about a year with the pre version 1 SDK. The application runs from with a war file on JBoss 7.1.1. We are in the process of ...
3
votes
2answers
426 views

Capture Salesforce Outbound Message with a Java SOAP Listener

I would like to send the modified data on an object to an external system. For this I am thinking to use workflow based Outbound Message option. What I understand, the required endpoint url will be ...
1
vote
2answers
101 views

Cannot get apex code coverage from my Java app via SOAP Tooling API

Running code like the following throws exception: query = "SELECT Coverage FROM ApexCodeCoverageAggregate WHERE ApexClassOrTriggerId ='" + id + "'"; QueryResult q = ...
2
votes
0answers
42 views

Two Way SSL Configuration With Tomcat 6

I am trying to configure SSL with Tomcat I have following all the steps of the configuration on tomcat server and Force. com side. I have follow the below link- ...
0
votes
1answer
404 views

Access a Wrapper Class/list from a Different Class?

So this is what I'm trying to do. I want to make a new class as an extension to a VF Page, and be able to access List Values from that class, that are created in another class. Like so: public with ...
1
vote
1answer
228 views

Bulk API and load into Multiple Objects from single CSV file

I'm extremely new to salesforce and Bulk API. I've search for a possible solution for a couple of days, but haven't had any luck. I'm using the java examples for the bulk api load that I found here, ...