Why Visualforce Email Templates using Static Resources Do Not Work

Recently had a need to create an email template in Salesforce.com for Marketing that included about 10 images. The recommended method for storing those documents is to put them in ‘Documents’ and make sure they are ‘Externally Available’. Not files…or Content…Documents. See what I did there? Called out that there are three different file/CMS stores…

Manipulating Dataload Files with Powershell

If you have a fancy Mac…then you have all kinds of linux/unix tools and utilities built right in to the OS or just a click a way that you can use. Must be nice to have some standard stuff that has been used for decades with lots of documentation. For the rest of us slumming…

Pre-populate Visualforce Form without a class

The solution below can cause issues when using jquery so I am now using this solution: Apex: <apex:inputText label=”Customer Number” value=”{!cnumber}” id=”custsearch” styleClass=”form-control”/> Jquery: <script> $(document).ready( function(){ $(“input[name*=’custsearch’]” ).val( “{!cid}” ); setTimeout(function() { $(‘input[name*=”{!focus}”]’).focus() }, 1000); }); </script> >> End Update Something that should be easy is relatively hard to do without busting out apex: Take the…

Loading Bootstrap CSS and JS in to a Visualforce page.

There are a couple of resources which I have linked below that go through how to download, namespace, and then get working with Salesforce.com. One piece that seems to be missing is an example that works. Sounds crazy but I was not able to get the scripts/style sheets working (that is my story and I’m sticking to it!)….

How to reset your Security Token when the option is missing

Recently worked with a forms product (not Clicktools sadly) that required the use of a security token in the login credentials. We use SSO so we are not presented the option to reset and email the token…at least through the UI! Got a super pro tip after reading this handy posting on how to use a handcrafted URL to…

Field Permissions and Site Profiles

If you are using Salesforce.com sites in order to expose Visualforce pages for anonymous access, the system creates a hidden profile that controls field level access. By default most common standard fields are displayed but if you find that you cannot display some fields when browsing anonymously do the following to access the profile: Click Setup Develop…

Forcing Timezone with Visualforce Data and Time

Some months ago I had a project where I needed to show what date and time an order was processed in Eastern regardless of who submitted the order and their related timezone. Google will quickly show the light for how to display date/time using the timezone set on the user profile or GMT. So the…

List View gives you “Time Limit Exceeded”

In Salesforce.com, if you create a list view that pulls so much data that you get a timeout and the error message “Time Limit Exceeded” and “Your request exceeded the time limit for processing” you might find yourself stuck as Salesforce.com will use the last view used anytime you access the tab. So how do…

Days of the Week

In Salesforce.com, When doing analysis work on Case trends one might be interested in understanding how the day of the week impacts the number of cases created and closed. As in “How many Cases are Opened on Monday’s as Opposed to other days of the week?”. You will find that this is not standard reporting…