Archives

Salesforce Remote Access Using Property File in Java

Properties File Navigate to Setup->Develop->Remote Access to create a new consumerkey and consumersecret when you create a new Remote Access to Salesforce username=username@email.com password=passwordsecuritytoken client.id=consumerkey client.secret=consumersecret login.url=https://login.salesforce.com merchandise.name=Target merchandise.price=6.25 merchandise.description=Retail Store merchandise.inventory=200 Java File to Add a new Merchandize Record to Salesforce package com.thysmichels; import java.io.FileInputStream; import java.io.IOException; import java.util.Properties; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import […]

Rate this:

Read More