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.
290
questions
1
vote
1
answer
988
views
How to convert changes set to Package.xml?
We have previous deployments that took place in our Salesforce production org and we are now in transition to keep our metadata config changes in Git repos. I'm wondering if there is any easy way of ...
-1
votes
0
answers
16
views
Workbench & Enhanced Domains
Our team is preparing to enable enhanced domains. Has anyone experienced any issues around Workbench and Enhanced Domains?
1
vote
0
answers
35
views
Add FLS to custom fields of Activity (Task/Event) in bulk from workbench
I created about a 100 custom fields for Activities in bulk using metadata API via workbench. Now I have to manually Set FLS for each custom field one by one for Activity from the UI, which is a time ...
0
votes
1
answer
1k
views
Salesforce Workbench -How to login using a session ID instead of username/password?
I am trying to login to Salesforce using Salesforce Workbench. I want to use the session ID, instead of the usual username/password process.
Any ideas?
0
votes
1
answer
3k
views
How can I get information about the current user from Workbench
I'm using Workbench to perform queries.
I would like to get information about the currently logged in user.
In Apex we can use the UserInfo object e.g.
Id userId =UserInfo.getUserId();
User ...
6
votes
5
answers
8k
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 ...
0
votes
0
answers
23
views
Workbench Metadata API deployment Failed : Error - This View Unique Name already exisits or has been previously used. Please choose different name
I am trying to deploy a custom List View (My Sales Leads) of the Lead Object. It throws the error of being a non-unique List view name. If I change the List view scope to any other List views and then ...
0
votes
1
answer
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
0
votes
0
answers
42
views
How to restrict users with update permissions in Salesforce to be read-only in Workbench?
I would like to have some of our user community use Workbench (https://workbench.developerforce.com/login.php) to Salesforce, but I would like for them to have read-only access, not updates. It seems ...
0
votes
0
answers
25
views
Best way to phantom mass save all contact records
I have created a flow to calculate a roll up summary on Account for all that Accounts Contacts. It works well. However, I need to save the contact record in order for the flow to work initially. I ...
2
votes
2
answers
2k
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 ...
0
votes
1
answer
102
views
Workbench Settings: "Preferred Query Batch Size" parameter missing?
Theory
On Workbench's Wiki in the "How do I call queryMore()?" question, is written:
(...) The query batch size can be changed with the "Preferred Query Batch Size" setting on ...
1
vote
1
answer
794
views
Simple Salesforce Query issues involving Malformed requests
I have a malformed query problem when using simple salesforce for my AWS python Lambda.
The query uses the AccountContactRelation object.
When an event is dropped into an AWS S3 bucket for taxonomy ...
0
votes
1
answer
1k
views
Retrieve standard NAME field label change through Metadata API
I have updated the standard NAME field's label on custom object through rename tabs and labels in Setup. But I am not able to retrieve the Name field label change.
Here is my package xml:
<?xml ...
0
votes
1
answer
1k
views
How to get real data from AccountHistory?
when I get data from AccountHistory, including "deleted and archived records", I get all my tracking history.
The problem is that the column Id doesn't match any id in my org.
For example, these two ...
0
votes
0
answers
62
views
Attachment API returning Status=Not Found, StatusCode=404 from Apex but works from Anonymous window & workbench
I am trying to access Attachment info using
/services/data/v56.0/sobjects/Attachment/\<attachment-id\> which works fine from workbench.
It also works fine from Anonymous window using
URL....
0
votes
1
answer
425
views
What does this error in Workbench mean?
We are seeing an error message for one specific user in Workbench when attempting to query the Task Object. This user has access to Task records in Salesforce, but for some reason sees this error in ...
1
vote
1
answer
81
views
Installing workbench in an environment without composer - cannot find ../vendor/autoload.php
Error:
Warning: require(/apache/htdocs/workbench/../vendor/autoload.php): Failed to open stream: No such file or directory in /apache/htdocs/workbench/shared.php on line 2
Fatal error: Uncaught Error:...
0
votes
0
answers
23
views
Is there anyway to control which login workbench uses when logged into multiple orgs? [duplicate]
I'm almost always have logged in to more than one org in the last half hour. When I launch workbench and click login, it always seems to pick the session for the org I do not want. I click logout ...
0
votes
1
answer
3k
views
Report to fetch Duplicate Contacts
I need to generate a report with list of duplicate contacts and their duplicate count. I’m trying to run below query through Data Loader and Workbench & Export the results.
select count(id), ...
2
votes
0
answers
49
views
Workbench Error: UNKNOWN ERROR: SOAP-ERROR: Encoding: object has no 'uiRequestId' property [duplicate]
I've been receiving this error when trying to use Workbench. I found this post about using v56 which I'm already using so this didn't solve my problem. Does anyone have any other tips or guidance?
0
votes
0
answers
39
views
Salesforce access change detection for records
I want to replicate Salesforce ACL in an external system. I plan to use salesforce sharing tables(AccountShare/CaseShare) for access detection. However, when access changes happen, I want some way of ...
1
vote
1
answer
1k
views
SF Workbench - API Version v55 - SOAP Error - Parsing WSDL - Failed To Load External Entity `soapclient/sforce.550.partner.wsd`
Issue
As of 08/17/2022 myself and my Development/QA team has been running into an issue with SF Workbench when using API v55.
We are deploying Service Cloud Voice (SCV) Contact Center with features ...
22
votes
1
answer
17k
views
salesforce workbench error : SOAP-ERROR: Encoding: object has no 'uiRequestId' property
we are not able to access salesforce workbench today. Getting following error
UNKNOWN ERROR: SOAP-ERROR: Encoding: object has no 'uiRequestId' property
0
votes
1
answer
2k
views
SF Workbench - SOAP object properties error [duplicate]
After logging into SF via the workbench login screen I'm seeing the below message:
UNKNOWN ERROR: SOAP-ERROR: Encoding: object has no 'uiRequestId' property
I do see that an update was made in github ...
1
vote
0
answers
208
views
TimeZoneSidKey field in user object not returning entire list of picklist values in when executed in apex context but its working with workbench
code used in method to fetch all the timezone value list:
List<DropdownWrapper> timezones = new List<DropdownWrapper>();
Schema.DescribeFieldResult descField = User.TimeZoneSidKey....
0
votes
0
answers
405
views
Why is Salesforce inspector faster than data loader or workbench?
I have a use case where I need to delete a few million duplicates from my org. I have explored the following 3 tools to achieve this. Salesforce Inspector, Data Loader and Workbench. The performance ...
0
votes
2
answers
213
views
How to retrieve all this year reports metadata using workbench?
I am trying to retrieve all this years report metadata. I can retrieve the single report using below package.xml code. But How do I query for this year reports and retrieve its column api name? How to ...
1
vote
1
answer
111
views
workbench access issue "this app is blocked by Transaction Security"
some of my colleagues have issue with accessing to workbench. When they try to login they receive below error:
app_blocked: this app is blocked by Transaction Security
Is it SalesForce account issue?...
0
votes
0
answers
55
views
Can I translate Permission Set Names with workbench?
I have a question which might just boil down to me being blind.
However, when I look at the Translation Workbench I seem unable to find any possibility of translating Permission Set Names/ ...
0
votes
1
answer
454
views
Facing problem sfdx force:mdapi:deploy and force:source:deploy
I want to deploy the destructive changes. I have tried the below options but it doesn't work for me:
Option 1: sfdx force:mdapi:deploy -f destructiveChanges.zip -u orgname
Option 2: sfdx force:source:...
0
votes
2
answers
809
views
Get ApexCodeCoverageAggregate resultes in CSV
I am using the belwo querying in Query Editor in Developer Console:
SELECT ApexClassOrTrigger.Name, NumLinesCovered, NumLinesUncovered FROM ApexCodeCoverageAggregate
Enabling the Tooling API like ...
0
votes
0
answers
63
views
Sort Order of Results on REST query of Datasets
I'm trying to understand the order of the results that come through when I execute the following query in WorkBench on Rest api.
/services/data/v54.0/wave/datasets
I'm aware that SOQL queries and ...
0
votes
1
answer
171
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. ...
3
votes
1
answer
262
views
How to run an Async SOQL query other than via Workbench
In Workbench, one can perform Async SOQL queries like so:
However, Workbench is strictly speaking not a Salesforce supported product. Is there another tool from which one can execute Async SOQL?
0
votes
0
answers
20
views
How to add multiple entries (records) to a Custom Setting list with REST POST request [duplicate]
So I have created a custom setting of type list and I'm trying to fill it with multiple records using a POST request.
I'm using workbench to try this and I've successfully posted 1 record.
URI: /...
0
votes
1
answer
276
views
SF Workbench - API Version - v55 Not Appearing
I require to use Workbench with SF API v55 (Summer '22) so that I may deploy Service Cloud Voice (SCV) Contact Center with features that are in v55
My SF Org is running Summer '22 (v55)
Currently when ...
0
votes
0
answers
147
views
HTTP Method 'POST' not allowed
I'm getting two different errors in salesforce workbench when trying to do POST and PATCH. I'm trying to update a picklist using a json as request body.
When we do POST, I get this error message:
HTTP ...
0
votes
0
answers
81
views
Subscribing to platform event via workbench
I'm trying to subscribe to a platform event in a Developer sandbox with the use of workbench (API 53.0). The use of Streaming API is enabled in setup.
Via the queries -> Streaming Push Topic -> ...
1
vote
2
answers
535
views
workbench not finding package.xml in package
I have a zip file that contains package.xml in its root folder but the workbench keeps giving "No package.xml found" errors
The zip file is called trigger1.zip and it's contents are right ...
0
votes
1
answer
259
views
How to deactivate the flow using workbench API
How to deactivate/delete flow through WorkBench API or Apex? I tried all possible ways. could anyone help out here?
1
vote
0
answers
366
views
retrieve a package using the deployment Id
I want to know how to retrieve a deployed package given the id in a zip format with all the deployed components and its package.xml :
I can access the list of components that have been deployed using ...
0
votes
0
answers
96
views
Can we track changes made via workbench?
We are working on our audit readiness and are preparing to restrict connected app access to Workbench for all profiles, except System Admins for full use and our Analysts so that they may do queries.
...
2
votes
1
answer
141
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 ...
1
vote
2
answers
556
views
How to retrieve the IDs of existing custom managed content types
I have followed these steps to create some custom managed content types for my organization. It seems like the delete request needs an ID of the record to be deleted via the tooling API, which makes ...
0
votes
2
answers
122
views
SalesForce Workbench Architecture
We are performing a security review of the WorkBench tool before allowing external consultants access to our Salesforce organization for viewing the structure and relationships to develop reports.
I ...
2
votes
2
answers
1k
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
1
answer
115
views
Retrieve of Custom Field having __hd (history trending) files not happening through Metadata API
I recently enabled Tracking History for 3 fields inside the Case object. Even on the workbench in the metadata section of Custom Field, I can see a Case__hd folder where all the fields which are set ...
0
votes
0
answers
52
views
Error when logging into .Mil Salesforce Domain
When logging into workbench with my custom .mil domain I get the error "Host must be a Salesforce domain"
is there a way to add the .mil to the domains list or an alternative login solution ...
0
votes
1
answer
78
views
Question around SOQL and object model fields
I have a question around the SOQL query below.
SELECT Assignee.Name, Assignee.Profile.Name, Assignee.UserRole.Name, Assignee.Profile.UserLicense.Name FROM PermissionSetAssignment WHERE PermissionSet....