Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
2answers
1k 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 ...
11
votes
1answer
7k 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 ...
11
votes
1answer
3k 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 ...
9
votes
2answers
2k 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 ...
6
votes
1answer
5k 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 ...
6
votes
1answer
4k 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 ...
6
votes
1answer
802 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 ...
5
votes
2answers
7k views

isDeleted=True is not working in SOQL query

Wondering why this query will retrieve ZERO records when executed in Workbench and Developer console. (Though i have records in Recycle Bin) Select Id, IsDeleted FROM Account WHERE IsDeleted = TRUE ...
5
votes
3answers
4k 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 ...
5
votes
1answer
905 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 ...
5
votes
1answer
5k 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 ...
5
votes
1answer
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 ...
5
votes
1answer
4k 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 ...
4
votes
2answers
797 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 ...
4
votes
2answers
3k 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 ...
4
votes
2answers
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 ...
4
votes
2answers
568 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 ...
4
votes
1answer
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 ...
4
votes
1answer
40 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,...
4
votes
1answer
339 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.
4
votes
1answer
407 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 ? ...
4
votes
1answer
2k 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 ...
3
votes
3answers
2k 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 ...
3
votes
2answers
5k 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 ...
3
votes
1answer
1k 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 ...
3
votes
2answers
2k 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 ...
3
votes
1answer
195 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 ...
3
votes
1answer
3k 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, "...
3
votes
1answer
417 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. ...
3
votes
1answer
579 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 ...
3
votes
1answer
155 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....
3
votes
2answers
1k 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 ...
3
votes
1answer
602 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 ...
3
votes
1answer
648 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 ...
3
votes
0answers
71 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 ...
3
votes
1answer
252 views

SOQL Error on Querying External Object?

I am trying a simple Query on an External Object and it is returning this error :- An error has occurred and you have been logged out: REQUEST_LIMIT_EXCEEDED: Your org exceeded one of the rate ...
3
votes
2answers
343 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?
2
votes
2answers
250 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 ...
2
votes
1answer
845 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 ...
2
votes
1answer
124 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?
2
votes
1answer
320 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 ...
2
votes
1answer
657 views

Page layout name via Rest Explorer in Workbench?

EDIT: I'm trying to find this page layout in the workbench: I'm attempting to get the page layout name for a given object via the rest explorer but I do not see the name, where do you look for it? ...
2
votes
2answers
6k views

how to call rest API from Html or javascript

i have one rest class for insert account , it's working with workbench.developerforce.com but now i want to call same using HTML or JavaScript , how can i do ? My Code : @RestResource(urlMapping='/*...
2
votes
1answer
65 views

how does SOQL compare IDs

This is more of a conceptual question. I was initially querying attachments related to a specific object like this - SELECT Id, Name, ParentId, Description, BodyLength,IsDeleted,IsPrivate,CreatedById,...
2
votes
1answer
436 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 ...
2
votes
2answers
574 views

Metadata API support for Approval Processes?

EDIT: I have search online and could not find any resource that talks about how to get metadata for Approval Process I know that the approval process stores in the ProcessDefinition object but what ...
2
votes
1answer
1k views

apex REST WEB SERVICE : Unexpected parameter encountered during deserialization: startdate at

I have a few json's that I'm posting with the access-token as header, when I send two parameters I get a status message from my rest api successfully, but when I send more than 2 parameters I get the ...
2
votes
2answers
56 views

Get single emails sent / Single email limit number to create alert when approaching the limit

My organization sends emails via Apex single email in some cases, We are sending the mails to users whenever possible, but sometimes we need to send to external mail, that's causing us to use the 1000 ...
2
votes
1answer
290 views

Getting SOAP error while deploying changes in workbench

I am trying to deploy certain changes using destructive xml in workbench. I am getting the below error on deploy: SOAP-ERROR: Parsing WSDL: Couldn't load from '/app/workbench/soapclient/sforce....
2
votes
1answer
85 views

Deployment with Workbench - Failure due to special character in process name

I am deploying the components using workbench. One of the components is 'case' object that has got business process named "Complaints & Enquiries". When trying to deploy the package, getting below ...