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
1
vote
1answer
309 views

Query Salesforce fields with their unique IDs

I would like to query all picklist fields on a specific object, along with their associated unique Salesforce IDs (I'll be loading these as custom metadata types). I don't need the picklist values, ...
0
votes
2answers
555 views

How Can I mass delete Account Records with a specific Record Type in Salesforce using Workbench?

I tried to delete Account Records using workbench and it gives me this error: Failed: InvalidBatch : Referenced file "request.txt" is missing or is a directory I am not able to understand how to ...
0
votes
0answers
124 views

Error while retrieving Process Builder using workbench

I am ending up with the below error when I try to retrieve Process builder (Flow) using workbench. "Entity of type 'Flow' named 'My_Process' cannot be found" My Package.xml is below: <?xml ...
1
vote
1answer
873 views

How to send and test a response from a Rest webservice in workbench

Is it possible to send a response message from a rest webservice? I have the following : @RestResource(urlMapping='/*') global with sharing class RestResource { @HttpGet webservice ...
0
votes
0answers
517 views

Update Custom Metadata

I am trying to update some custom meta records. There are current 4384 records in the system. And update give me an error of "Collection size 4,384 exceeds maximum size of 1,000." This happens even if ...
4
votes
3answers
3k 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 ...
0
votes
2answers
4k views

How to Extract Notes and Attachments Associated with a Specific Object

I am trying to extract notes and attachments related to a custom Salesforce Object. I have tried to use the workbench and data loader. Data loader does not work because you cannot use nested SOQL ...
1
vote
1answer
1k views

Where is the Workbench in Lightning Experience?

Where is the Workbench in Lightning Experience? I am covering the module. The challenge there is to: Using REST API and Workbench, create an account with the name "Blackbeards Grog Emporium" and ...
1
vote
1answer
822 views

HTTP Method 'PATCH' not allowed. Allowed are POST,DELETE,GET,HEAD

I have created a method to update the records in a case. @RestResource(urlMapping= '/FieldCases/*') global with sharing class RestCaseController { @HttpPatch global static String caseUpdate(...
1
vote
1answer
2k views

How to stop running test classes from Workbench?

Unfortunately i click run all test classes in my workbench in salesforce test environment,now i would like to stop the those test classes,could you please give me any possible way for this through ...
0
votes
1answer
47 views

SOAP ERROR Parsing WSDL

I'm getting the following Error message on all pages of my workbench. I've tried going into settings to lower the API version, but the error message above is the only item that will load on the page. ...
1
vote
0answers
116 views

How to use SObject Describe resource and the If-Modified-Since HTTP Header in workbench

I'm trying to use If-Modified-Since in workbench, based on the example available in Rest API developer guide. But I'm not able to see the desired response. Here is what I tried so far: Please let me ...
1
vote
1answer
95 views

Workbench Query Inconsistent Results

I am using a query to retrieve records in Workbench but everytime I run the query the number of records return is different. There are about 800000 records. What would be the reason? SELECT ...
0
votes
2answers
204 views

Error deploying standard fields in big object

I'm trying to deploy a big object to Salesforce but there are some errors with the object's fields. The big object is based on a standard object that already exists in salesforce and has some standard ...
1
vote
1answer
589 views

Big Object not deploying to Salesforce

I've been trying to deploy a big object to Salesforce via the Metadata API in Workbench but for some reason, the object isn't showing up in Salesforce. Here are the contents of the files in the ...
1
vote
1answer
634 views

Marketing Cloud export and import to Salesforce

We're exporting a csv file from marketing cloud using a data extract activity. The delimiter is , The export contains salesforceID and another field. It's csv so the values are in one column but , ...
1
vote
2answers
296 views

Property currently unsupported: 'concurrencyMode'

I was playing with workbench and tried to create job in "Rest Explorer". The Url I was using: /services/data/v41.0/jobs/ingest/ The Request Headers: Content-Type: application/json; charset=UTF-8 ...
2
votes
2answers
489 views

Big Object Basics - Deploying Big Objects

I have a problem while deploying a new Big Object to my developer ORG from my windows machine. I was doing the exact steps mentioned in Trailhead and deploying the big object using Workbench. I have ...
1
vote
1answer
1k views

Wrong content-type for batch (text/csv; charset=UTF-8), job is of type: text/csv

I am trying to insert a batch job with the Bulk API and Workbench. I am getting following error : Wrong content-type for batch (text/csv; charset=UTF-8), job is of type: text/csv These are my ...
0
votes
1answer
176 views

Rest Context returning null in Apex class

I know I am a horrible coder. I tried below code snippet for REST Delete. But the Rest context returning me a null instead of Id even though I passed an Id from Workbench Rest explorer. Here is my ...
0
votes
1answer
279 views

Data in Workbench to Wave Dataset

How can I get a dataset in Wave Analytics if I have a query in Workbench? I mean how to export that data to a dataset without using .csv format Thanks!
4
votes
1answer
455 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.
0
votes
2answers
221 views

Deploying Object fields in Big Object

Does anyone know whether it is possible to deploy custom or standard object into big object without manually writing those entire object fields and permission set file? Thanks in Advance
1
vote
1answer
93 views

What kind of Object is Charts__History

In an Org I am trying to find the metadata of an object with api - Charts__History(Yes, with no __c). I could not find it in Salesforce Org UI so I used workbench to investigate. I can run the query ...
-1
votes
1answer
49 views

i need to use GET method for my custom Object,but not able to use it

I am using GET to fetch Primary_subscription__c object I am not able to use this custom objct in URI /services/data/v41.0/sobjects/**Primary_subscription__c**/0010l00000dd2 Please suggest..
0
votes
1answer
128 views

Metadata for matching filter for sObject

I'm trying to find the metadata for the matching filter for any sObject in my case its 'Opportunity' is that possible to find out the what the filter matching creatria is? using REST API I have ...
0
votes
1answer
1k views

Workbench - Inserting Records with Self Lookup via Smart Lookup

I would like to insert a few hundred records into a custom object. The custom object has a self lookup. The custom object use is to replace a series of dependent picklists, 3 levels deep. For ...
2
votes
2answers
904 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 ...
0
votes
0answers
142 views

Query Folder name with role associated to it

I'm trying to get the role names associated with the folder but I'm not getting hold of it. Here is what I have tried: Select Id, Name, isActive, Folder.Name from EmailTemplate where Folder.Name = '...
2
votes
1answer
861 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? ...
1
vote
1answer
434 views

RestExplorer in Workbench Get Error?

I would like to test a Get endpoint in Workbench via the rest Explorer. However I'm getting a services not found error when executing. Any suggestions on what I need to change? Below is the endpoint ...
3
votes
1answer
766 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 ...
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 ...
2
votes
2answers
326 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 ...
1
vote
1answer
550 views

If-Modified-Since header not working

I am trying to use the If-Modified-Since header with SObject Describe https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/describe_global_with_ifmodified_header.htm I want to ...
1
vote
0answers
78 views

Dependent field not getting deployed in Salesforce

I am trying to deploy dependent fields and controlling in salesforce. The deployment is successful via workbench , however the changes in field dependency are not getting impacted in the org. The meta ...
1
vote
2answers
718 views

Workbench: Invalid session id

EDIT: for some reason I'm unable to upload the image, so here is the screen shot of my workbench https://ibb.co/kVbpYQ I get the sessionID from Developer Console annoy window: System.debug(UserInfo....
1
vote
2answers
2k views

Is it possible to retrieve xml files of Profile from workbench

Can someone help us how can we retrieve all profiles using workbench? Can you check what is wrong with our file? <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/...
0
votes
1answer
2k views

No Package.XML found

Trying to deploy the Custom metadata loader ZIP file in workbench and its giving an error. Please see the below... Following this steps : https://github.com/forcedotcom/CustomMetadataLoader
0
votes
0answers
1k views

custom field is not available for query in workbench

I have a custom multi-select picklist on opportunity object. When I'm trying to run a query on opportunity object using this field it's throwing an error, and this field is also not listed in the ...
0
votes
1answer
57 views

mass field creation & migration

Actually, I already have a salesforce org where I have some custom objects & fields. Now I want to create the same objects and fields(including checkbox, formula fields nearly 100) in another org. ...
1
vote
2answers
437 views

how to deploy file with brackets in the name using workbench/ant package xml

I have to profile layouts named with brackets in the name. When retrieved the package xml have them listed as: <members>My layout (version 1)</members><br/> and the content of the ...
1
vote
1answer
571 views

not being able to query BusinessHours in Case object

I have set up Business Hours in my org. A field called BusinessHours appears in the Case Standard field List. However as soon as I try to query using workbench, it throws an error select ...
0
votes
3answers
2k views

Permission Set Assignment report

Is it possible to make a report which would show the assignees of a bunch of Permission Sets ? I'm guessing the only way to do it would be to build a report based upon the PermissionSetAssignment ...
4
votes
1answer
561 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 ? ...
6
votes
1answer
985 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 ...
0
votes
0answers
1k views

insufficient access rights on cross-reference id while deploying package

I am getting below error while deploying package. Insufficient access rights on cross-reference id. I can't even see line number.so I am not able to find issue. Please suggest
1
vote
2answers
2k views

Bulk API: using Workbench InvalidSessionId (Unable to find session id)

I'm following this (Bulk Api) Trailhead, I have valid SessionId and when I try to authenticate I'm getting the following error: I have created few records using the same SessionId and I know its a ...
1
vote
1answer
781 views

Can't deploy reports with workbench

I've retrieved some reports from my org, made changes to them and am trying to deploy them again through workbench. Everything went well until I try to deploy my zipped directory containing the ...
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 ...