Sara Has No Limits

Good Programmers Evaluate, Simplify, Automate and Document

Visualforce Custom Controllers

ControllerMethods

Custom Controller Code Used when there is a need to: Override existing functionality Make new actions available to a page Customize navigation Use HTTP callouts or web services Provide greater data access control on a page Custom Controller vs. Controller Extension – Custom controllers are used when the developer wants to start with a clean slate and have complete control over the functionality. Extensions inherit the functionality of the controller […]

Continue Reading →

Overview of Visualforce Controllers

StdControllers

An Overview of Visualforce Controllers Controllers define different types of methods: Data Methods such as getter and setter methods Action methods, such as specialized methods or navigation methods Three types: Standard Controllers – provided by Salesforce and provide access to standard Salesforce data and actions Controller Extensions – Created by extending an existing controller. They use the data and methods from the controllers they extend. Custom Controllers – require the […]

Continue Reading →

Force.com IDE and Version Control

Development with the Force.com Platform Your development environment should consist of the following two tools: At least one dedicated Sandbox – Allows you to use the Setup menu to customize applications, modify metadata and synchronize changes Force.com IDE – Used to develop code, customize and create metadata in Bulk, deploy metadata, support version control and synchronize file changes Eclipse Eclipse is an extendable integrated development environment that supports a variety […]

Continue Reading →

Manage Sandbox Environments

SandboxComparisonChart

Sandboxes Sandboxes are a clone of an entire production environment that allows developers to develop and test without risking production data. There are three types: Full – copies the entire prod org (although you can choose to omit some data and have it load faster) Configuration-only – copies only the configurations and does not copy any data. But, you can load up to 500MB of data Developer – Similar to […]

Continue Reading →

Apex Class Notes – Advanced Topics

describecode

Dynamic Apex Components Enables you to create more flexible applications by providing you the ability to access sObject and field metadata descriptions Allows you to write dynamic SOQL and SOSL queries and dynamic DML Consists of several components: Schema Describe – way to programmatically discover info about the current org schema. You can use the following to get a map of the schema: Map<String,Schema.sObjectType> gd = Schema.getGlobalDescribe(); Dynamic SOQL – […]

Continue Reading →

Receiving and Sending Emails Through Apex

EmailCode

Want to Learn More about Inbound Email Services? Click HERE! Inbound Email Services Automated process that uses Apex classes to process the content, headers and attachments from inbound emails to a salesforce.com email address. Each email service has one or more salesforce-generated email addresses to which users can send a message for processing. An email service only processes messages it receives at one of it’s addresses. For example, you can […]

Continue Reading →

Working with Web Services

Custom Web Services The webservice keyword allows developers to create their own SOAP Web Services and defines methods that are inherently global Two ways to invoke Web Services: From the AJAX toolkit by importing the apex.js library and call the execute method From a client program by importing the WSDL and calling the custom method directly Access WSDL support through Setup -> Develop -> Classes Guidelines for Creating Custom Web […]

Continue Reading →

Follow

Get every new post delivered to your Inbox.

Join 89 other followers