Built for salesforce developers

Redirecting to standard New,Edit,View and clone without removing override

Hi All,

I hope this post will save some time for Developers and Admins . The title may sound complex but its as simple as eating a chocolate. Most of the Salesforce geekys know Salesforce actions like creating new record,editing a record and cloning etc are based on URL and component Id.

Lets take Account object. I have to overrode the account view with 'AccountView' visualforce page.

Use bootstrap in visualforce page

Hi All,

This is a simple post which covers how to add and use bootstrap css in your Visualforce page.

There are some bootstrap related posts which you can read it here.

You will get to know how simple it is to achieve this after reading this post.

Steps to follow

  1. Add bootstrap css
  2. Use bootstrap css in Visualforce page

Add bootstrap css

You can add the bootstrap css in two ways 

View/Open a file in Document Object

Hi Folks

This post will help you to view or download (if its a word doc) a file in Visualforce page from the Document objects.

I had a requirement that when i click on a link in Visualforce page, it should open a file from Document Object in new tab. For example - Click on Terms&Conditions link. 

Follow the steps to do this:

Step 1: Add a pdf file in Document Object in Salesforce Org. For Eg: Add a pdf file in Document Object in the name of Terms And Conditions.

Adding image button in Lightning

Hello Folks,

Recently, some one asked a way to add image for a Button in Lightning Component. I have been working on Lightning Components for past two months. So I thought of writing this post.

Let me split this in two steps.

1) Add Image in Static Resource

2) Add Image for a button


1) Add Image in Static Resource

Upload your image in Static Resource to use this image in Lightning Component.