• 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
You are here: Home / Archives for Force.com Platform

Chatter Publisher Actions (Part 2): Object Custom Action

July 15, 2013 by David Schach 12 Comments

In the previous post, we looked at using the standard (button-click) way to create a new child record using Publisher Actions. Pretty basic stuff. Using Visualforce to create a custom action is a bit harder. Let's start with the documentation. The PDF provided by clicking on the link in the Actions screen (Account action is […]

Filed Under: Apex, Chatter, Development, Summer 13, Tips and Tricks, Visualforce Tagged With: Apex, Chatter, Force.com Platform, Publisher, Visualforce

Create and Populate a Map Without Loops

July 25, 2012 by David Schach 7 Comments

There are many reasons to use Maps in Apex triggers. Sometimes I want to make a List of Contacts, but I want to pull each one by its ID. This is a good reason to abandon the List and to make a Map<Id, Contact>. (Some will prefer to use Map<String, Contact>, and that is okay […]

Filed Under: Apex, Tips and Tricks Tagged With: Apex, Force.com Platform

Next Birthday Formula

July 6, 2011 by David Schach 4 Comments

How would you display your Contacts with upcoming birthdays? I’ve seen people use “Birthdays This Week,” “Birthdays This and Next Week,” and other reports to display the list. I’ve also seen requirements for showing a person’s next birthday, to trigger an automatic email to each Contact on his/her birthday. Let’s see how it’s done: Next, […]

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

Computer Associates Plans To Release Agile Development Tool On Force.com Platform

November 19, 2009 by David Schach Leave a Comment

Today, at Dreamforce 2009, Computer Associates plans to release CA Agile Planner (http://www.ca.com/agile), a tool to manage agile development teams.

Filed Under: Development, Partners Tagged With: Force.com Platform, New Features

New Developer Library Released

November 19, 2009 by David Schach Leave a Comment

Today, Developer Force (http://developer.force.com) released its new library. Here are a few of them. All can be found at http://wiki.developerforce.com/index.php/Documentation. Workbook http://www.salesforce.com/us/developer/docs/workbook/index.htm Fundamentals http://www.salesforce.com/us/developer/docs/fundamentals/index.htm Cookbook http://www.salesforce.com/us/developer/docs/cookbook/index.htm Apex Advanced Code Example http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_shopping_cart_example.htm https://sites.secure.force.com/appexchange/listingDetail?listingId=a0N30000001saDCEAY And many more to come!

Filed Under: Apex, Development, Force.com Platform, New Features, Salesforce, Visualforce, Winter 10 Tagged With: #df09, Apex, Force.com Platform, Salesforce

Trigger to help Salesforce for Twitter

October 6, 2009 by David Schach Leave a Comment

Salesforce for Twitter is one of the best AppExchange packages I've seen. It fulfills the promise salesforce.com made to bring the Service Cloud to all orgs of all sizes. And it works well. Though a supplemental/unofficial guide to customizing SFDC for Twitter will be released soon on this site, I wanted to share a trigger I just wrote to add new Leads to a campaign:

Filed Under: Salesforce Tagged With: Apex, Force.com Platform, New Features

Filtered Lookups, Validation Rules, and Order of Execution

October 6, 2009 by David Schach Leave a Comment

Reading the cheatsheet for Filtered Lookup (beta), I noticed an interesting line: Lookup filters function similarly to validation rules when you save a record. That is, actions that cause related records to save, such as changes to a roll-up summary fields, also trigger the lookup filters on the related record and block the save. The […]

Filed Under: Configuration, Native Application, New Features, Salesforce, Tips and Tricks, Winter 10 Tagged With: Force.com Builder, Force.com Platform, New Features

A Mention in the Developers Challenge

October 2, 2009 by David Schach Leave a Comment

The salesforce.com Developer Force Challenge has concluded, and the team of Force Squared and The Enforcer won a mention! Our Daily Shinro site was listed “for sheer exuberance!” I’m really proud of the site, though the lion’s share of the kudos go to John for the concept and site design. I just coded whatever he […]

Filed Under: Development, Salesforce, X-Squared On Demand Tagged With: Apex, Force.com Platform, Sites, Visualforce

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

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

  • 1
  • 2
  • 3
  • 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...