Hot answers tagged

4 votes

How to update API version of all classes in single go

Salesforce CLI is the best option when it comes to automating such processes. So you can create and run a script. For Scratch Orgs we are assuming that your local git is the source of truth of your ...
user avatar
2 votes
Accepted

Legacy API usage and event log

Unfortunately, I came to a dead end on this one. I believe you're going to need to get Support involved. Here's what I found out. The key prefix 888 is for an object called OauthConsumer, with the ...
user avatar
  • 429k
1 vote
Accepted

expose a soap api with 40 parameters

Use a "wrapper" class: global class Parameters { webservice String param1; webservice String param2; ... webservice String param40; } webservice static Response method(Parameters ...
user avatar
  • 429k
1 vote
Accepted

OAuth 2.0 Web Server Flow and CORS problem

You're using the wrong flow. You should be using the User-Agent flow, in which you redirect to a login URL, and when the process completes, you'll be returned to the URL you specified as the callback ...
user avatar
  • 429k
1 vote

How to get the Apex Character Limit via Api/SOQL

That bit of limit is not exposed as an API at the moment. If you really want to get it, you could screen scrape that page. We have implemented screen-scrapping in few places (like to get list of ...
user avatar
  • 1,327
1 vote
Accepted

sprinkledata: How to connect using Salesforce connector

Check under the login history of your user to make sure you can see the error. User locked out means you may have to reset it. The other issue could be the connector is making a SOAP login call to the ...
user avatar
1 vote

How can I get key prefixes of each object from a Salesforce Instance with pythons simple_salesforce API?

The following works to create the desired table: import pandas as pd import simple_salesforce sobjects = simple_salesforce.Salesforce().describe()["sobjects"] key_prefixes = [[sf_obj["...
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible