Lightning Component – How to filter records based on user input

In the last post we saw how to create a lightning component to display records of an object in a tabular form. In this post we will use the same example and see how to filter the records based on user input. We have our custom object Bank and we have displayed the records in […]

Lightning Component – Step by Step guide to display records

In this post we will see step by step how to create a Lightning component to display records in tabular fashion. Let’s say we have a custom object called Bank, We want to show all records of Bank object to the user. 1. Open Developer Console and create new Lightning Component called BanksList. Add the […]

Uploading attachment through Rest API Salesforce: Simple working solution

Uploading attachment through Rest API in Salesforce is quite easy, though the documentation is not that clear on this. Simple HTML Form Let’s create a simple HTML form to upload the file. The form takes a file as input and in this form I have disabled all other file types except pdf. The form’s action […]

Attachments for Salesforce Web to Lead – Part I

You have enabled web to lead for Salesforce. You are getting great leads from your website and your sales team is happy to be getting them directly on Salesforce. A new requirement comes to you to add an upload attachment option to the web page. Well, that’s easy. The web designer can do it in […]

How to create and test a Salesforce Schedulable Class

In this post we will see how to create and test a schedulable class. We will use schedulable interface to create a schedulable class and Test.StartTest() and Test.StopTest() methods to write the test class. Schedulable class can be used for variety of purposes. You can use the class to send regular SMS/Emails. You can use […]

Scroll to top