Legacy:Salesforce:Custom Visualforce Pages

From Melissa Data Wiki
Jump to navigation Jump to search

← Legacy:Clean Suite for CRM:Salesforce

Legacy Salesforce Navigation
Introduction
Getting Started
Installation
Setup
Credits
Components
Express Entry Component
Visualforce Pages
Installing Visualforce Pages
Custom Visualforce Pages
Batch Processing
Custom Batch Processing
Legacy Result Codes
Salesforce Result Codes



Custom Visualforce Pages

Clean Suite already provides Visualforce pages to use with Contact objects within Salesforce. If you would like to apply your own customizations or create new pages for other objects, please follow this guide as a model for customization. In this section, we will be creating a new Visualforce to use with Lead objects, using one of the included Visualforce pages for Personator as a template.

1. To start off, go to your Setup menu.

Here’s a guide to find this within Salesforce: https://help.salesforce.com/HTViewHelpDoc?id=basics_nav_setup.htm&language=en_US


2. Next, go to Develop -> Pages:

LWS Menu Build-Develop-Pages - Melissa Wiki
Select the Pages Button


3. You should see a list of Visualforce pages that currently exist within your Salesforce organization. The ones installed by Clean Suite will exist within the MDPESRONATOR namespace. Go ahead and click on the name MD_personatorContact.

LWS Menu Build-DP-Personator Contact - Melissa Wiki
Select MD_personatorContact


4. In the following page you should the markup for the MD_personatorContact Visualforce page. Highlight and select all the markup starting from <apex:page> down to the closing </apex:page> and copy it.

LWS Menu Build-DP-Personator Copy - Melissa Wiki
Copy the Markup


5. Go back to Develop->Pages and now click on the New button.

LWS Visualforce - New - Melissa Wiki
Click the New Button


6. In the new window, paste in the Visualforce markup that we copied from MD_personatorContact. Replace the appearances of Contact in the markup with Lead. Give an appropriate Label and Name for the Visualforce page. Here’s an example of our new Personator Visualforce page for Leads:

LWS Visualforce - Edit - Melissa Wiki
Paste the Markup

7. Save the new page. You can now add this Visualforce page to your Leads. For instructions on how to do this, see Installing Visualforce Pages.