Posts

Showing posts with the label Testing

Create Sandboxes in Salesforce

Image
Sandboxes in Salesforce Sandboxes in Salesforce A Sandbox is a replica of your Production org and we can create multiple Sandboxes as per the Salesforce edition. The Sandbox orgs are the isolated ones and the operations that we perform in any Sandbox org would not impact the production org. There are several Types of Sandboxes present in Salesforce.  Developer Sandbox Developer Pro Sandbox Partial Copy Sandbox Full Sandbox A B C D E 1 SANDBOX TYPE REFRESH INTERVAL STORAGE LIMIT WHAT’S COPIED SANDBOX TEMPLATES 2 Developer Sandbox 1 day Data storage: 200 MB Metadata only Not available 3 File storage: 200 MB 4 Developer Pro Sandbox 1 day Data storage: 1 GB Metadata only Not available 5 File storage: 1 GB 6 Partial Copy Sandbox 5 days Data storage: 5 GB Metadata and sample data Required 7 File storage: 5 GB 8 Full Sandbox 29 days Same as your production org Metadata and all data Available How to create a Sandbox...

REST API using Workbench

Image
REST API using Workbench We can use Workbench tool to test the REST API in any Salesforce org.  Let us discuss some popular scenarios to play with using Workbench tool in our Org. In order to play with Rest API, we need to login to our Salesforce org --> Then go to Workbench ( https://workbench.developerforce.com )  and --> Go to menu Utilities --> Select the REST Explorer . - After selecting the Rest Explorer, we would have so many HTTP methods to choose and to perform any action to our org. - Depending upon the requirement, we might use different methods at different scenarios. Some of the important methods as mentioned below, HTTP Method Description GET Retrieve data identified by a URL. POST Create a resource or post data to the server. DELETE Delete a resource identified by a URL. PUT Create or replace the resource sent in the request body. Scenario 1:  Fetch the complete list of objects in a salesforce org. - Just...

SFDX Developer Guide

Image
SFDX Developer Guide SFDX Developer Guide SFDX - Salesforce Developer Experience This doc explains the SFDX concepts in detail and it's solely based on my analysis and understanding. - Rajesh Babu Yanamala How to install SFDX on my machine? For Mac OS -  https://sfdc.co/sfdx_cli_osx For Windows 32-bit -  https://sfdc.co/sfdx_cli_win For Windows 64-bit -  https://sfdc.co/sfdx_cli_win64 Select the defaults, then install it in your machine. Once it's installed in our machine, then we need to verify whether it has been installed correctly. For that, we need to open the Command Prompt from our machine and type the command “ sfdx ” In order to check the version of the CLI, you can use the following command, sfdx --version -To see the installed plugins for SFDX CLI, then type this command, sfdx plugins To know the Salesforce version that's used in our CLI which you have installed, type this, sfdx force --ver...