An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.

learn more… | top users | synonyms

4
votes
0answers
40 views

Find Nearby Accounts migration to Google Maps API v3

we have been using the Find Nearby Accounts app from appexchange for a while now. The app uses the Google Maps API vs 2 which is now deprecated and hence has rendered the app ineffective. I have tried ...
5
votes
2answers
60 views

How to preview documents in SalesForce?

In my Apex page we want to show the preview for the SalesForce documents? We want to have preview for the following file types? Supported file types: MSWord, MSExcel, PDF and PPT. Is the any we ...
3
votes
0answers
18 views

How to retrieve Data Export info from api without screen scraping?

How to get the data export information (links), once the weekly full data export is complete, through api? is it stored in any object? can we fetch that information without doing a screen scraping? ...
1
vote
2answers
42 views

Salesforce to Xero integration [on hold]

I need a step by step guide into setting up an integration between Salesforce and Xero. I'm asking those who have tried integrations with Quickbooks or other applications if you have experience with ...
7
votes
3answers
55 views

Counting notes crashes with OPERATION_TOO_LARGE: exceeded 20000 distinct ids

I am trying to execute the following SOQL query to count number of notes in Salesforce instance: SELECT Count(Id) notes_count FROM Note over the API. And getting OPERATION_TOO_LARGE: exceeded 20000 ...
3
votes
2answers
25 views

Permissions to have a token?

I know how to reset my token once i have it, and how to navigate to it. What I can't find is what permissions/lack of restrictions do I need on my profile to allow me to have a token? is it a lack ...
1
vote
1answer
18 views

How to know which API Partner Server URL to use

I have registered an development test account in SF and one connected app. From connected app I have to call SF SOAP API. I do not know which web service base address to use. I see that for different ...
3
votes
0answers
27 views

Filtered Lookup Meta-Data

I am using Sublime Text and Mavens Mate to bring meta-data into our Git repository. I recently added a Lookup filter to a packaged field (managed-released). The change went through in the org just ...
3
votes
1answer
34 views

Disable Data Loader by Profile

Is it possible to disable the data loader based on profile (or role)? We have some non-tech users who like to use the data loader for bulk updates, unfortunately, they are also making mistakes when ...
0
votes
2answers
38 views

Outlook Configurations with Web API

I'm searching a way to access (with the help of the Salesforce Web API) the data found under Administration Setup > Desktop Administration > Outlook Configurations. That is, all configurations ...
2
votes
1answer
23 views

Permissions for API calls

I need to do regular extractions from a Salesforce org where I'm not an Admin via Informatica. To do those calls, what privilages will I need? Do I don't think they want to make a sys admin.
2
votes
1answer
30 views

Is it possible to turn permissions on and off through API

Is it possible to turn permissions on and off in Salesforce through API?
1
vote
1answer
33 views

Salesforce SmartStore app becoming offline to online

I am developing a SmartStore android app. What I need to do is when my device goes from offline (not connected to internet) to online (connected to internet) then the data which I stored offline ...
0
votes
0answers
22 views

LiveAgent auto create new custom object

On the configuration for LiveAgent in the service console, you can have it automatically create a new case, a new account, a new lead, etc. Salesforce has really come a long way with this product. ...
0
votes
0answers
62 views

SAML bearer flow for retrieving an OAuth token gives an assertion error

i'm posting the following request; trying to get an OAuth token: POST ...
3
votes
2answers
35 views

How can I select group Name and count of FeedPost

I want to get (select) VersionData field of ContentVersion Table with C#. It is possible? I can select the other fields in the table, but I failed to select VersionData. There is a blocking of ...
3
votes
2answers
52 views

Can the Tooling API be used to determine which Apex class the current Apex class extends from?

Does anyone know of a way to use the Tooling API to determine which Apex class the current class extends from? I have looked at the SymbolTable but cannot see any indication that this information is ...
3
votes
1answer
47 views

Does the Tooling API SymbolTable support custom interfaces?

I have been looking at the tooling api in versions 28.0 and 29.0. I have a couple of example classes that implement custom interfaces and also some that implement standard interfaces (i.e. ...
2
votes
1answer
40 views

can an app programatically tweak chatter message when user hits submit?

For example, when a user enters a long URL, we want our Salesforce Org to automagically use an API of a URL shortening service to transform it into a short URL. Any ideas how this can be done?
2
votes
1answer
33 views

Salesforce API: Department field on Contact

I'm performing queries on the Contact object in Salesforce via the API, and I want to access the Department field. I'm using a query like this: SELECT Department FROM Contact WHERE Id='1234' Which ...
1
vote
1answer
35 views

Contact Id on opportunities

So I am trying to create Opportunities for Contacts, but I can't seem to get the contact ID from the opp like I could Account Id's. Does anyone know if this is possible? I checked out the sobject ...
1
vote
1answer
39 views

How to perform upsert in SalesForce Bulk API with Multiple Update Key?

I created some classes in Java, which integrate my existing system with SalesForce via Bulk API. The component runs smoothly when inserting new objects. I was wondering how it would be possible to ...
4
votes
1answer
116 views

Why does OAuth2 authorization endpoint redirect to callback URL as if it were the SAML IdP?

This is all a proof-of-concept in a sandbox; maybe something I'm doing is not supported in sandboxes. Our org is set up with SAML2-based SSO and that works well. Now I'm trying to use a REST API and ...
1
vote
1answer
84 views

Connected app and oauth in a SSO enabled org

I am working with a co worker and he is using connected app and all is setup fine (assuming?) He has client secret/ customer Key etc.. Since my org is single sign on enabled will I still use ...
5
votes
1answer
123 views

Uploading Activity data to Salesforce

As part of a migration from Siebel to Salesforce, we need to migrate activities. Can you help me complete a list of items we need to take into consideration ? Also, please do add more details to any ...
2
votes
1answer
58 views

Requests from One PHP form to two Salesforce orgs

We need to create a PHP form that will simultaneously send data to two Salesforce orgs, and update Accounts, Contacts, and some custom objects. Is it possible? What will be the best approach to ...
0
votes
1answer
74 views

Difference between AccountId and WhatId in a Salesforce Task

Specifically regarding Email objects in Salesforce's REST API, i get redundant AccountIds on fields- AccountId and WhatId. Seems like both of these are Accounts related to the Task. My query to fetch ...
1
vote
1answer
77 views

How do I setup an access_token ?

I have a python script on a local server that needs to be given OAuth permissions to salesforce.com According to salesforce's documentation, I need to create a new token. Develop -> Remote ...
1
vote
2answers
56 views

How can I find my salesforce.com API request limit?

Can you tell what your API limit is for a 24 hour period? It appears that salesforce has Unlimited, Developer, Gold plans. How can I tell which one I have? I'm looking to retrieve it though the ...
2
votes
0answers
89 views

Is salesforce REST API support disabled in Enterprise Edition

i understand that API support is specially activated for Partner DE applications, so as to also include PE. Even the Salesforce trial EE account, the API call returns a- Error: call to URL ...
0
votes
0answers
207 views

DescribeSObjectResult.Fields contains fields that do not appear to exist?

I am using the force.com SOAP API (Partner WSDL) to query one of our Salesforce orgs and retrieve a list of all objects and all fields of each object. This seemed pretty simple as I could quite ...
1
vote
1answer
66 views

Does salesforce now require a security token even if if you have whitelisted ip?

It used to be that you could ditch the security token in API calls if you whitelisted an IP range for a user's profile. I've got a new dev org (wouldn't be doing this for production orgs) and I still ...
2
votes
2answers
98 views

Accessing a Salesforce sandbox through API

can someone with salesforce API integration help me understand the requirements to access a client's Sandbox? I need to access the sandbox and pull data into our MySQL server. I hired a programmer ...
5
votes
1answer
173 views

SalesForce Batch Compression Unexpected Error

In SalesForce' Bulk API, on page 60 of their documentation: Compression The only valid compression value is gzip. Compression is optional, but strongly recommended. Note that compression ...
2
votes
1answer
294 views

How to perform upsert in SalesForce Bulk API in C#

I have created a class with which I can insert, update and delete records from SalesForce using their bulk API. I have searched the web and have come across various resources; but I cannot seem to ...
4
votes
1answer
183 views

Ajax Toolkit, asynchronous javascript return values to a global variable

I am creating this Visual force page that will heavily rely on the Ajax tool kit and trying to do it asynchronous style, because I think that is what the cool kids are doing. Is it not possible to ...
4
votes
2answers
529 views

Access reports though api

I'm looking for examples of how to query the salesforce rest api, to get the values from these reports. Reading this site, gives an example, but not much explanation. curl ...
0
votes
0answers
17 views

How to deploy workflows for all users of the enterprise with an admin account?

I am developing some workflows and layouts that I want to deploy on all the users of an enterprise through API(unmanaged). Provided that I have the System Administrator account's privileges(using ...
2
votes
1answer
52 views

Get all page-layouts for an object via API

I am attempting to get all page-layouts (w/ details) for a given object via the API. Currently using describeLayout which gives me the details I would need about a layout, the problem with this is ...
0
votes
1answer
78 views

Enabling API access for GE/PE Edition: How to Append Partner Token to clientId for SOAP Call Salesforce?

I have received a partner token from Salesforce which needs to be appended in SOAP header, I am using following code to authenticate a valid session, but I am not sure where I need to append partner ...
1
vote
1answer
69 views

Creating EventRelation over API

I am trying to create and EventRelation over API, but I keep getting the following error even though I see EventRelation as available sObject and "Allow Users to Relate Multiple Contacts to Tasks and ...
0
votes
1answer
64 views

API Calls - What Script/ Page/ Etc Made The Call?

Currently, our Web Development team is trying to mop up years of scattered coding techniques (PHP based sites), and in recent weeks, something disturbing has happened. Our API calls to Salesforce ...
6
votes
1answer
124 views

Bulk API Query - Splitting large query into batches

I'm currently using the bulk-api to return all records for a given sObject. I can make it work via one very large batch, but I think it would be more efficient if I could split it into multiple ...
2
votes
1answer
76 views

Creating workflow for custom object throws namespace error

I am trying to create workflows for all the objects on an Enterprise type account(test org created via partner portal). Using the meta-data API I am fetching all the objects and there are some custom ...
1
vote
2answers
138 views

PHP Soap API returning XML string

I have successfully connected to SalesForce using the Soap API and the Force.com toolkit for php. When returning records, however, I am getting part xml responses: SELECT Id, Name, ...
0
votes
1answer
50 views

Add contact to Salesforce 'Contact Manager' edition via API?

I'm new to Salesforce, and working on an integration task which involves adding contacts to Salesforce from an existing system and keeping them in sync (one way; contacts updated in existing system ...
2
votes
1answer
152 views

How do I perform a query to the salesforce bulk API with the salesforce_bulk_api gem?

I'm trying to perform a bulk query to salesforce with the salesforce_bulk_api gem. I am connecting successfully and doing the query with no problems but I can't get the actual results. This is what I ...
3
votes
1answer
120 views

New Report and Dashboard Folder Sharing Settings API Access

Is it posible to access the new sharing settings for reports and dashboards? We have lots of folders and it would be nice to be able to update them using Data Loader instead of one by one. I'm ...
1
vote
1answer
86 views

Workflow limits in response to API calls

Are there limitations on the number of workflow rules that can be triggered simultaneously for my org? Here's the situation. My company is running as Unlimited with between 100 - 200 users. My ...
4
votes
2answers
393 views

Access to State and Country Picklist values through Apex or API?

I recognize that State and Country Picklists are still a "Beta" feature, but does anyone know if, in Summer 13, its possible to get at the State and Country Picklist Values through either the Apex ...