INTRODUCTION
Recently, working on one of the Networking domain project for our client based out in Louisville, Colorado, USA, utilized workbench with Salesforce to test out REST APIs, where Salesforce accepts order data from the third-party application.
Hence Workbench tool is very helpful, here on introductory blog, I am going to explain how we can utilize Workbench with Salesforce. Workbench with Salesforce is a versatile web-based tool developed for Salesforce administrators and developers to communicate with Salesforce.com by Force.com APIs.
Using the Workbench with Salesforce platform, one can efficiently execute Salesforce Object Query Language (SOQL) and Salesforce Object Search Language (SOSL), access organization's records, perform data loading, data manipulation, and data migration, testing, deploy and troubleshoot any applications, and configure session settings, testing of REST APIs with Raw Response and Asynchronous Methods.
CONNECT WORKBENCH WITH YOUR SALESFORCE ENVIRONMENT
In order, to connect Workbench with your Salesforce Org, go to the below website,
For the next course of action, refer to the below image,
Note: You can select Production as Environment, if you are working in Developer Edition.
Once you click on the Login with Salesforce button you will navigate to the Salesforce login page. Enter your username and password of your Salesforce instance and click Log In.
After login successfully into Workbench Salesforce, it allows you to Jump to different options like Standard & Custom Objects, Metadata Types and Components, SOQL Query, SOSL Search, Insert, Update, Upsert, Delete, Undelete, Purge, Deploy, Retrieve, and many more.
On the top menu bar, you will see five different sections, info, queries, data, migration, utilities.
The users can view all the information on any Standard and Custom object. The detail of object display on the screen contains Attributes of the object detail like searchable, custom or standard object, Child Relationships which provides the information on all the child objects, List of Fields and its details, Record Type Info which provides a list of Record Types of the selected object and its detail, and Supported Scopes for an object like Account teams, my territory’s, etc.
Metadata Types & Components feature is used to display the description and components of a list of metadata types such as Permission Sets, Queue, Apex Class, Apex Page, Apex Trigger Workflow, etc.
Session Information feature will show the current user session details. It displays details about current user sessions like Connection, Accessibility mode, profileId, Session seconds valid, user Email, user FullName, UserLocale, UserType, and many more. Only the System Administrator can end or cancel any other session present in Salesforce Workbench.
- Users can provide inputs such as Object to query. There is also a feature Sort and Filter which is used to sort the data ascending or descending and to filter the data.
- Workbench will develop the Query based on the object, fields, and the rest of the parameters selected.
- Workbench will render the Query Results in the form of the ListView, Matrix view, etc. selected in ‘View As’. There will be two other options to view results such as Bulk CSV and Bulk XML.
- Rest Explorer is used to performing the Rest API service with the HTTP method such as GET, POST, PUT, PATCH, DELETE.
- Apex Code can be executed in a workbench using Asynchronous methods with help of another feature of Utilities which is Apex Execute. Users can create, update, or delete records with apex code.
- User can set or Reset your Org password through workbench using Password Management.
- Bulk API Job Status is used to see the result and status of asynchronous data load. By providing jodId in the input box, one can see the result.
- Metadata API Process Status lets users see the status and result of Async Operations such as Deploy and Retrieve which are performed with the workbench feature Migration.
No comments:
Post a Comment