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
565 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
321 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 ...
3
votes
3answers
1k 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
2k 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
524 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
518 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(...
0
votes
1answer
830 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
40 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. ...
0
votes
0answers
80 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
67 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
121 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
540 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
445 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 , ...
0
votes
2answers
197 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 ...
1
vote
2answers
394 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
838 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
122 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
181 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
319 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
181 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
0
votes
1answer
675 views

Bulk API 2.0 ---ClientInputError : LineEnding is invalid on user data.

getting error while inserting account using Bulk API 2.0 using workbench ClientInputError : LineEnding is invalid on user data. Current LineEnding setting is LF Csv Data Name,Description,...
1
vote
1answer
73 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
46 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
97 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
683 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
490 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
103 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
574 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
181 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
613 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
241 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 ...
0
votes
1answer
378 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
37 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
572 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
1k 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
1k 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
764 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
55 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
281 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
365 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
2answers
1k 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 ...
3
votes
1answer
376 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
770 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
738 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
526 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 ...
11
votes
1answer
2k 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 ...
1
vote
0answers
700 views

How to export data queried from nested loop soql query

I need to export data by using nested loop query.Both workbench and data loader does not allow to export data queried from nested loop.Is there any way to export nested loop queried data.