Tag Archives: Visualforce

How to Use Lightning Component in Visualforce page

In this blog, we will discuss on how to use Lightning component in Visualforce page. Kindly follow the below steps in order to use Lightning component in Visualforce page. Create Lightning Component SampleComponent Firstly, in this lightning component, we are using ‘PassesValueFromVF‘ attribute which is set/pass from Visualforce page. Refer the below code to define… Read More: How to Use Lightning Component in Visualforce page »

Sending Email Attachment using VF Email Template

Salesforce provides different types of Email templates like Text template, HTML, Custom and Visualforce email template. The visualforce email template is a very powerful template type as we can create a custom Visualforce page and display it as an Email body. Along with this, it also provides flexibility of adding an attachment in the mail.… Read More: Sending Email Attachment using VF Email Template »

Expand and Collapse panel using Lightning Component

As mentioned in our previous blogs, we have already seen how to use Lightning Components in our Visualforce pages and we have also seen how to implement the look and feel of Lightning in our Visualforce pages using SLDS system. As it stands it does seem like one-way traffic as we are only implementing Lightning… Read More: Expand and Collapse panel using Lightning Component »

Creating a VisualForce Page with the help of Lightning Design System

While we have already discovered how to use the Lightning components in our VisualForce pages there are other ways available to developers to have the same look and feel of a Lightning design system in a VisualForce page without the use of any Lightning components. The Lightning design system provides a material design approach to… Read More: Creating a VisualForce Page with the help of Lightning Design… »

Apply fixed headers in Visual Force Page for Large Records

Visualforce page can display a maximum of 1000 records and let us tell you this is not a small number. When all the 1000 records show up on your page, you have to keep scrolling down to see the records appearing at the bottom of your table. Though, by the time you reach the bottom… Read More: Apply fixed headers in Visual Force Page for Large Records »

Creating Multiple PageBlockTables Dynamically

Creating Multiple PageBlockTables Dynamically There are times when we want to display the table dynamically. Not just the columns, but we might come across a scenario where we the table needs to be repeated itself fetching the data dynamically, which could change on fly. For example, the user can chose a list of first names,… Read More: Creating Multiple PageBlockTables Dynamically »

How to use Visualforce Remote Object in Salesforce

Instead of Javascript remoting we can use the new feature VisualForce Remote Object. While using Javascript remoting we need to write controller method with @RemoteAction notation, so this will no longer be needed if we use Visualforce Remote Object. Here are the some advantages over Javascript Remoting – Only need a Visualforce Page. No controller… Read More: How to use Visualforce Remote Object in Salesforce »

Set the click event of button on Enter in Visualforce page

Sometime ago we had a client requirement wherein we had to perform a button click operation when the user presses the enter button on a visual force page. In a normal visualforce page, there is no specific way to define a button to be pressed while pressing the enter key. New Stuff:  SOQL Query on combination… Read More: Set the click event of button on Enter in Visualforce… »