Archives

Run Test Class in Salesforce from Apex

Salesforce support following way to execute a test class inside Salesforce The Salesforce user interface The Force.com IDE The Force.com Developer Console The API But apart from that we can run a test class in Salesforce from apex using ApexTestQueueItem (in beta release) which will submit your test class for test execution asynchronously.  

Use MavensMate for Apex Development

Eclipse is widely used apex development IDE from the decades but sometimes it makes our system slow and people start looking for alternative approach for development. I used eclipse couple of year but lately I find some slow down issue with my machine because eclipse consume memory. Sublime text is very light weight development tool …

Automatic Salesforce Testing with Cucumber

Cucumber is a software testing tool which can be used to test the functionality. It run automated acceptance test written in behavioral driven language. It was initially written in Ruby but now a days different language support Cucumber. Cucumber test framework require two different files .feature file Scenario file Feature file is combination of five …

Invoke Apex with Lightning Process Builder

Salesforce recently released Lightning Process builder for their customers. It is a UI workflow tool that helps admin to automate business processes in powerful manner. It is similar to Workflow but it also provides great flexibility with following action which is not available with Workflow It provides following action: Create a record Email Alert Call any …

Update record using javascript

Following code snippet will update record on button click on any standard detail page Create a new button from Object Name -> Button and links with following code. Add button to page layout.

Salesforce Deployment Methods

Once you are done with your development you need to migrate your code from your development organization to the organization where business user can use your code. So in this tutorial we will learn different types of organization and Salesforce Deployment Methods from one organization to another organization. 1. Organization Type Salesforce provides two types of …

How to verify Force.com Site for Google Webmaster Tools?

Issue : Sometimes it is an issue that we can’t verify the authenticity of Force.com Site because Google webmaster needs verification tag in head section and Salesforce doesn’t provide that by default. Solution: To verify a Force.com Site we need to remove existing html tag using applyHtmlTag=false and applyBodyTag=false. After that we need to define …

Introduction to Visualforce page

What is Visualforce Page: As we all know now that Salesforce provides two cloud services. Once is SAAS (Software As A Service) and PAAS (Platform As A Service). Platform as a service means you can create your own app inside Salesforce using their Platform services. Visualforce is a development framework that allow developers to build …

Introduction to Apex Trigger

Trigger Definition Apex trigger is a action which is used to perform some action while saving records to the database in Salesforce. It works at database level where no human interaction is required. for example: If end user enter Opportunity Amount as $5000 and you have another field on Opportunity called $5000 above opportunity checkbox, you …

Understand SOQL Basic

Salesforce provides development platform Force.com as Platform as a Service(PAAS) which is used to enhance functionality of Salesforce platform so from this tutorial we are going to learn how to customise Salesforce with our needs and build our own application using Force.com platform’s available tools. with this tutorial you will understand soql basic. As we all …