Silly Admin Trick: Checking Users Access to An Object

The question of whether all of your users have access to an object is an issue with VisualForce, specially when dealing with related lists. Unlike a standard page layout which has the logic built-in to not show related lists that a user does not have access to, Visualforce does exactly what you tell it to regardless….

Silly Admin Trick: Page Block Text Wrapping

PageBlock, PageBlockSection, and PageBlockTable are all the devil I know this. But I support a lot of legacy Visualforce pages and before we make the jump to the Lightning UI I am updating a lot of these pages and find that the text wraps in the ‘PageBlock’ Title attribute for no reason at all. So this…

Silly Admin Trick: Checkbox Formula

Hardly worth posting but never knew that if you just do a formula like “len(name) > 10” works the same as if you did “if(len(name) > 10, TRUE, FALSE)”. Silly shortcut but kind of cool! I found this while doing my favorite hobby…data cleanup and the case of the ‘who loaded the bad data!’.

Visualforce Page does not update or show in Recent Items

In order to drive data quality and usability it is sometimes helpful to show items from the ‘Recently Viewed’ table or straight from the object using the ‘LastViewedDate’ or ‘LastReferencedDate’. When accessing items from List Views, Reports, or Search the recently viewed fields are updated automatically (duh right?). When accessing a record from a custom…

Salesforce.com Email Connect : Exchange Sync (Beta)

>> I thought I had published this months ago but found it in my drafts so without further ado here are my notes on how to get the Exchange Sync working in a proof of concept environment. So with Spring 15 Salesforce.com introducted new server side email and calendar sync features. You can read all about…

Great URL Encoding Resource

I do a lot ‘URL buttons’ where on a page or relate list I create a button that pulls / scraps fields from the current and relate objects and fill in the new record form. Stuff like Contact ID, Account ID, etc. that sometimes standard and custom objects don’t automatically pull over. Also good for creating…

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…