Popular NewsSalesforce

How to execute anonymous code?

An anonymous block is Apex code that does not get stored in the force.com platform but can be executed. We just run a code independently that does not affect our production.

As we know that Salesforce works in the cloud and it is multitenant. If you are wondering what force.com is a Platform as a Service (PaaS) product designed to simplify the development and deployment of cloud-based applications and websites. Developers can create apps and websites through the cloud IDE (integrated development environment) and deploy them quickly to Force.com’s multi-tenant servers.

We can execute Anonymous code from the Dev console, and from VS Code.

Anonymous Code Execution on Developer Console.

Leave a Reply

Your email address will not be published. Required fields are marked *