• Home
  • About
    • Leadership
    • Partners
    • Blogroll
  • Force-Squared Blog
    • Tips and Tricks
    • Configuration
    • Development
  • Support
    • Knowledge Base
    • Submit a Case
  • Is It Dreamforce Yet?

X-Squared On Demand

Salesforce solutions delivered

  • Home
  • About
    • Leadership
    • Partners
    • Blogroll
  • Force-Squared Blog
    • Tips and Tricks
    • Configuration
    • Development
  • Support
    • Knowledge Base
    • Submit a Case
  • Is It Dreamforce Yet?
  • Tips and Tricks
  • Configuration
  • Development

Overload Apex Class to be Controller AND Extension

July 24, 2009 by David Schach 2 Comments

Coding the new premium version of Mass Update Contacts (details to come), I replaced the two parts of the page with Apex Components. This will allow the app to support custom address fields and international address formats. I didn't want to write one ControllerExtension for the main page, a CustomController for the view section component, and another CustomController for the pageblocktable component. So here is the overloaded class constructor. Note that this works because an extension passes the StandardController to the constructor, and a CustomController passes nothing:

Filed Under: Apex, Development, Visualforce, X-Squared On Demand Tagged With: Apex, Eclipse IDE, Force.com Platform, New Features, Projects, Visualforce

Email Inbox Version 2

July 15, 2009 by David Schach 1 Comment

Well, it took about ten minutes from the release of Email Inbox Version 1 for people to request additional features, screenshots, etc. Version 2 includes some neat icons, and this post has the multiple-times-requested screenshots we promised. First, a teaser screenshot. (There's a better one below the code.) Here's the updated Visualforce code: The Apex […]

Filed Under: Apex, Development, Salesforce, Visualforce Tagged With: Apex, Projects, Visualforce, X-Squared On Demand

Visualforce Email Inbox

July 14, 2009 by David Schach 4 Comments

Sonny Cloward, SysAd at Rainforest Alliance, approached us about writing a Visualforce page to display all incoming emails for a given Case Queue. This led to quite a few interesting discoveries. Here's how we handled the project:

Filed Under: Apex, Development, Salesforce, Visualforce, X-Squared On Demand Tagged With: Configuration, Projects, Visualforce

Eclipse as a Password Manager

July 10, 2009 by David Schach Leave a Comment

Recently, Judi Sohn wrote about a URL hack to save your Salesforce username and password (in an exposed, plaintext manner). This is a great way to save a lot of time logging into Salesforce. There is another way to save un/pw combinations: Use Eclipse to store the un/pw/securitytoken. Read more: http://www.x2od.com/?p=625&preview=true#ixzz0Kt2X1lQD&C

Filed Under: Development, Salesforce Tagged With: Eclipse IDE

Checkbox Formula Field in Visualforce

May 21, 2009 by David Schach Leave a Comment

In keeping with the theme of checkboxes and formulas, we provide an easy way to create a checkbox formula field using Visualforce: the checkbox tag with the disabled attribute:

Filed Under: Apex, Development, Salesforce, Visualforce Tagged With: Apex, Visualforce

Pulling Code Out of Triggers

May 18, 2009 by David Schach 6 Comments

To date, triggers have only been accessible on each object's setup page, leading to a lot of hunting for code within the Salesforce CRM application. Even in Eclipse, switching between the Class and Trigger folders for a given project can be a pain. These pains can partially be alleviated by keeping all Apex code in one place--as Apex Classes. Read more: http://www.x2od.com/?p=583&preview=true#ixzz0FncHsqPw&B

Filed Under: Apex, Development, Salesforce, Summer 09 Tagged With: Apex, Eclipse IDE, Force.com Platform

Standard Checkbox Images

May 11, 2009 by David Schach 4 Comments

One of Salesforce CRM’s coolest features from a “bright shiny object” standpoint (i.e. something that aids productivity but also looks flashy) is the image formula field. Jamie Grenney first wrote about this a while ago, and his pdf and sample images from the Salesforce built-in library are available on the community site. Sometimes, however, we […]

Filed Under: Configuration, Salesforce Tagged With: Configuration, Force.com Builder

Dashboards are Improved AND New in Summer 09

May 7, 2009 by David Schach 2 Comments

The Summer09 prerelease orgs are here, so get yours now! Upon first look, something cool stood out and merits immediate posting:

Dashboards are improved. The colors are more vivid, there’s detail in the bars and pie chart wedges, and… pie charts can now display the actual and percentage values!

Filed Under: Configuration, Native Application, New Features, Salesforce, Summer 09 Tagged With: Configuration, Force.com Builder, New Features, Salesforce

Salesforce Blackberry Wallpaper

April 9, 2009 by David Schach 1 Comment

In honor of this week’s release of a Salesforce Mobile Development guide on DeveloperForce, we’re posting a Blackberry wallpaper for your enjoyment.

Filed Under: Configuration Tagged With: Just for fun

Hacking a Case Comment Trigger

April 1, 2009 by David Schach 8 Comments

There has been some chatter about asking the salesforce.com team to include the CaseComment object in the “triggerable” list. After conferring with JP Seabury (ForceMonkey), we designed a Rube Goldberg-esque solution to the problem.

Filed Under: Apex, Configuration, Development Tagged With: Apex, Configuration, Force.com Builder, Force.com Platform

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 9
  • Next Page »

Is it Dreamforce Yet?

Find out!

Find us on the AppExchange

Mass Update Contacts 2.0

Get It Now

Recent Posts

  • Prevent Duplicate Emails on Leads
  • Duplicate Record Item Enrichment and Auto-Deletion Code
  • Lightning Component With Running User Information
  • ChatterBINGO is Now Open-Source
  • Display Only My Role’s Records on a Report

Post Categories

Popular Tags

#df09 #df10 Akismet Apex AppBuilder AppExchange Appirio Astadia Blogs Chatter Configuration Content DreamFactory Dreamforce Eclipse IDE Enterprise Force.com Builder Force.com Platform Google Infowelders Integration Just for fun Lightning New Developments New Features Partner Program PersonAccount Projects Publisher Salesforce Salesforce1 Salesforce for Google Apps sfdcverse Sites Visualforce Web-to X-Squared On Demand

Find Us Online

  • Twitter
  • Facebook
  • LinkedIn
  • RSS

Subscribe

RSS Feed Comments

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 164 other subscribers

Copyright © 2008–2025 X-Squared On Demand · Genesis Framework by StudioPress · WordPress · Log in

 

Loading Comments...