Questions tagged [workbench]

A web-based suite of tools designed for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs.

Filter by
Sorted by
Tagged with
18 votes
2 answers
2k views

How workbench is able to log into Salesforce with OAuth

I have been trying to fiddle with OAuth user-agent flow and understand that you need to have a connected app defined in Salesforce. You would then use the client secret from that in your app to be ...
user avatar
14 votes
1 answer
12k views

Deleting custom object via destructiveChanges.xml and Metadata API deploy()

I've created a custom object in a developer edition org with the sole intention of deleting it via the Metadata API as per Deleting Components from an Organization. To do this I created the following ...
user avatar
11 votes
1 answer
5k views

Difference between data loader and workbench

I uploaded a .csv file with 50000 rows to the Salesforce Workbench to update a custom field in Opportunities. For most records I got the error Too many lock failure 200 Trying again later. I ...
user avatar
9 votes
2 answers
3k views

Developerforce's workbench site can’t be reached

Since yesterday I'm getting a weird error while trying to access the Workbench: https://workbench.developerforce.com/ I've already tried with different browsers, flushed the dns cache, deleted all ...
user avatar
  • 448
8 votes
1 answer
8k views

Could not find a match for URL Workbench

I am trying to test my code from workbench by sending an xml file to my @restresource global class. I have a @httpPost method through which I wan to insert the record. When I try to send a request to ...
user avatar
  • 3,705
7 votes
1 answer
12k views

Login to Workbench returns an error 'OAUTH_APP_ACCESS_DENIED: user is not admin approved to access this app

(Warning: SSIS and SQL expert, Salesforce N00b) Hi All I have access to the Salesforce UI as My Settings > Personal > Connections, Application = 'SalesForce Developers' (Role = 'Application User ...
user avatar
  • 371
7 votes
1 answer
2k views

How to mass undelete data from recycle bin

I have mistakenly deleted 200,000 records in the recycle bin and am trying to recover them. Although, clicking undelete button 1000 times might be a good way of remembering the mistake, it is still a ...
user avatar
  • 12.7k
7 votes
1 answer
6k views

SOQL: No response from the server error

I have below query to run either in workbench or Developer console, query editor. While on workbench, I get error: UNKNOWN ERROR: Error Fetching http headers and in Developer console error as No ...
user avatar
  • 2,900
7 votes
1 answer
235 views

Workbench end-of-life? [closed]

I have my own instance of Workbench running on Heroku and have recently started receiving the following email after deployment: Your recently built app XXXXXX is using the Heroku-16 stack, which is ...
user avatar
6 votes
2 answers
12k views

isDeleted=True is not working in SOQL query

I was wondering why this query retrieves ZERO records when executed in the Workbench and Developer console (though I have records in the Recycle Bin): Select Id, IsDeleted FROM Account WHERE IsDeleted ...
user avatar
5 votes
3 answers
7k views

Different between RelatedToId vs ParentId In EmailMessage

I had task related to Email Message (email-to-case). When an email arrives on closed case object, Then i was have to clone the old case object & create new record on that with exact data and also ...
user avatar
  • 2,444
5 votes
3 answers
7k views

Unable to log-in to workbench

I access workbench for sandbox in the following way.... Log in to salesforce sandbox account in 1 tab In another tab, I open https://workbench.developerforce.com/ and I get this window... 3. This ...
user avatar
  • 3,102
5 votes
1 answer
1k views

SFDX: What is the limit for number of class names under RunSpecifiedTests that can be listed?

Does anybody know what is the limit for the number of class names for RunSpecifiedTests using SFDX? I assume it will be the same limit as when one deploys a change set either using the salesforce's UI ...
user avatar
  • 4,451
5 votes
2 answers
4k views

Workbench: Bulk CSV - where do I access the data

I have submitted a sql query in Workbench and the status indicates the job is complete with 470249 records - o records failed. My question is where do I pick up the file when I click the ID link I ...
user avatar
  • 51
5 votes
1 answer
1k views

Are there limitations on querying Tasks

I am trying to bulk re-parent activities from one object to a new object. When I use the following SOQL query I get no results even though I know the record exists: SELECT Id,WhatId FROM Task ...
user avatar
  • 53
5 votes
1 answer
1k views

How do you access the Workbench SOQL Matrix functionality?

The following came up in the Salesforce Developer podcast between Ryan Brainard (the creator of Workbench) and Josh Birk. JOSH: Do you have a favorite feature on workbench favorite feature, RYAN: [......
user avatar
5 votes
2 answers
7k views

Access Tooling API via REST from Apex class

While still having this question open I found out about the new Tooling API and tried to access an ApexClass members via the Rest Explorer in the Workbench and could get it to run. How would I be ...
user avatar
5 votes
1 answer
3k views

Salesforce Developer Workbench Hosted Version OAuth Error - Remote Access Authorization Error

On attempting to log in to the hosted Workbench site https://workbench.developerforce.com with my force.com credentials, I am constantly getting an error that seems to be OAuth flow related. But I am ...
user avatar
5 votes
1 answer
6k views

Platform Event stuck in OPERATION_ENQUEUED status?

I've created a platform event called Review_Event__e in my sandbox, I have a apex class that publishes an event, the debug logs the event was successfully committed but if I monitor Workbench ...
user avatar
5 votes
2 answers
3k views

Selecting fields from Contact based on Account subquery?

I would like to return all related contact names based on a specific set of accounts returned via a subquery, but keep receiving a MALFORMED_QUERY error. Running the following SOQL in Workbench is ...
user avatar
  • 803
5 votes
1 answer
168 views

Can I use more than one "USING SCOPE" clause?

I am using this query to get a list of old reports in private folders and I am wondering if I can include public folders also. Here is the query: SELECT Id,name,LastRunDate,owner.firstname,foldername,...
user avatar
5 votes
1 answer
2k views

WHERE clause in SOQL query to history object (to custom field)

I am querying in the Workbench with SOQL. I need to query a history object to a custom field, but I want to see changes only to a certain field. What is the syntax to say WHERE Field = MyTargetField ? ...
user avatar
  • 53
4 votes
2 answers
9k views

How to consume a soap web service using workbench?

I would like to call a SOAP web service created in salesforce, using Workbench. There are some samples for other types of web services from the apex workbook but not for SOAP :-( My class contains 2 ...
user avatar
  • 43
4 votes
2 answers
2k views

How to get a record in workbench by passing record name with out using rest class

I knew that we can get record by passing id of a record in workbench and we can get a record by passing name of a record(using where condition) by using rest class. But i want to know that, (I ...
user avatar
4 votes
1 answer
188 views

Rest calls for Tooling API object with composite do not work

I'm trying to create multiple ApexClassMember records via REST Tooling API calls. In official documentation they claim, that You can Create Multiple Records with Fewer Round-Trips However, in ...
user avatar
4 votes
1 answer
6k views

Cannot deserialize instance of datetime from VALUE_STRING value

I have a REST webservice which inserts multiple records into custom objects. I am executing it on workbench using the following request: {"req" : {"tickets": [{ "External_TicketID__c" :1853, "...
user avatar
  • 365
4 votes
1 answer
871 views

Field Level Security information via REST API

Is there a way to access FLS via REST API or Apex? I'm trying to find out what FLS profile are Visible and what are Read-only. I couldn't find much info online.
user avatar
  • 6,614
4 votes
1 answer
1k views

Is the OpportunityShare.RowCause available for changes through the API?

According to the documentation on OpportunityShare about RowCause: You can create a value for this field in API versions 32.0 and later with the correct organization-wide sharing settings. ...
user avatar
4 votes
2 answers
4k views

Did the session id value disappear from the workbench?

I remember that the session information menu option used to display a session id value in the workbench? Is that no longer visible? I can still get this by executing this line of code in the Apex ...
user avatar
  • 1,760
4 votes
3 answers
645 views

Any way to query CRM Content Subscriptions?

I was wondering if CRM Content subscription information is stored anywhere. I am trying to find which users are subscribed to a particular tag. This object is the only thing I have come up with as a ...
user avatar
  • 143
4 votes
1 answer
1k views

Hiding OAuth Callback URL Parameters

I am trying to recreate user experience of the login functionality found at https://workbench.developerforce.com/login.php. I believe it is utilizing the OAuth Web Server Authentication Flow as shown ...
user avatar
  • 6,109
4 votes
1 answer
3k views

How do I use the WorkBench to retrieve metadata?

I'm trying to figure out how to retrieve Field Audit Trail metadata using the WorkBench, and I'm stumped. I used the WorkBench to deploy a zip file named package-Dev.zip, which contained the following ...
user avatar
3 votes
2 answers
2k views

Can We Create a Change Set via a Package.xml?

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml? See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the ...
user avatar
3 votes
1 answer
3k views

SOQL Query not returning results for Oldvalue/Newvalue in workbench

I have a query as below: SELECT CaseId,CreatedById,CreatedDate,Field,Id,IsDeleted,NewValue,OldValue FROM CaseHistory In my query NewValue,OldValue not getting in workbench.But same query working ...
user avatar
  • 135
3 votes
1 answer
2k views

Apex Platform Events Subscriber not always triggered

I am currently trying to troubleshoot a Platform Events implementation that seems to behave inconsistently. Here's the current architecture: I have an Apex Trigger on the Account SObject, where I ...
user avatar
  • 4,310
3 votes
1 answer
343 views

Workbench - CVE-2021-44228

This is relative to the CVE-2021-44228 log4J vulnerability. Is anyone aware as to the impact on Workbench? A POC for Salesforce support said it was impacted. If so - would anyone know how it ...
user avatar
3 votes
1 answer
1k views

Workbench - Picklist Value is translated but still in english language for Users

I've translated the status picklist values into portuguese in the parent object, but the user still seeing the picklist option in english language in the child object. The workbench option is ...
user avatar
3 votes
1 answer
2k views

Unknown Error in Workbench while querying UserEntityAccess

Getting Unknown Exception while querying 'UserEntityAccess' in work bench, Query : SELECT EntityDefinition.Id,EntityDefinition.DurableId, EntityDefinition.QualifiedApiName, EntityDefinition....
user avatar
3 votes
2 answers
2k views

Using Workbench to deploy destructive change set to eliminate apex class in production

I ran into an Apex Class error while trying to deploy a vendor package in Production from our partial Sandbox. The Apex class is obsolete and we have decided to delete it. Not having any developer ...
user avatar
  • 31
3 votes
1 answer
887 views

Query 4 levels and get bulk csv from workbench

I'm hoping this is an easy one but I'm having no luck in developer console or workbench. I have an object called Order_Line_Item__c that is related to Order__c which is related to Opportunity which ...
user avatar
  • 320
3 votes
1 answer
1k views

Workbench is down. Any good alternatives for preparing package.xml?

Workbench is down today due to an expired SSL Certificate. I have become so dependent on using Workbench to retrieve the Metadata API names to include in my Migration Tool's xml package manifest that ...
user avatar
3 votes
0 answers
159 views

"Reached maximum number of custom objects" while creating BigObject

I am trying to create a Big Object through workbench but I keep hitting the following error message: reached maximum number of custom objects. I have only used 6% of my custom object allocation ...
user avatar
3 votes
2 answers
379 views

Workbench and Salesforce

I cannot log into both workbench and salesforce on chrome.I am logged off from salesforce immediately as I log into workbench. Any one else facing the same issue?
user avatar
  • 13.3k
2 votes
1 answer
16k views

SOQL to query Custom Labels in Salesforce [closed]

Can anyone suggest me the SOQL which can export custom labels in Salesforce along with its translated texts?
user avatar
  • 131
2 votes
1 answer
79 views

Data Privacy in Workbench

We are using Workbench for data manipulation. Right now I'm checking the tool in terms of data privacy but unfortunately there is no reals statement from Workbench. So my question is: Does Workbench ...
user avatar
  • 29
2 votes
1 answer
2k views

Inserting of Notes using Workbench

When I try to insert a note using Workbench, I get the following error: "UNKNOWN ERROR: Too many object types to load: 146." with the following fields rendered: Body IsPrivate OwnerID ParentID If I ...
user avatar
  • 61
2 votes
2 answers
600 views

Lightning API not working

I am trying to use Lightning API in my salesforce org. I have followed this documentation provided by salesforce. But I am getting this response. Raw Response HTTP/1.1 404 Not Found Date: Tue, 08 ...
user avatar
  • 533
2 votes
1 answer
2k views

How to get the Available Record Types by Profile for a STANDARD Object

I found this post (especially Adam Torman's comment) really helpful in getting to the most elusive element of a profile--which record types are assigned to it for creation: Available Record Type by ...
user avatar
2 votes
1 answer
160 views

does workbench has access to actual data in the salesforce org

does workbench access actual data in the salesforce org ? does workbench access only metadata. specifically does the workbench store the org data in its servers?
user avatar
  • 21
2 votes
1 answer
1k views

Bulk API 1.0 - use Workbench

How can I use Bulk API 1.0 (for query) with Salesforce Workbench (or Postman) ? I found that doc explaining Bulk API 1.0 but only with cURL, and I'd like to use Workbench or Postman if possible, but ...
user avatar
  • 1,819

1
2 3 4 5 6