Getting MavensMate, Github, & Salesforce to all play nicely

Matt/ March 8, 2017/ Salesforce

UPDATE July 2021:  I no longer use MavensMate and have not since shortly after writing this post.  I would hope the tool has improved in the 5 years since I wrote this post but if not, I would definitely recommend checking out IlluminatedCloud or Visual Studio Code as an alternative! — There’s been some confusion lately within my network about

Read More

Prepare for Critical Update: Clickjack Protection for Legacy Browsers for Visualforce Pages Without Page Header

Matt/ January 31, 2017/ Salesforce

In about a weeks time, a Critical Update called Clickjack Protection for Legacy Browsers for Visualforce Pages Without Page Header (Critical Update) will come into effect. This CU extends clickjack protection for legacy version browsers for Visualforce pages that set showHeader=”false”  when those pages are configured on API versions older than 27.0. Clickjack protection is added to VF pages through several security

Read More

Salesforce File Type Security – Change PDF Behaviour To Download or Open In Browser

Matt/ January 17, 2017/ Salesforce, Technology

I learned something today I probably should have already known.  We have a number of PDF reports that used to download when the links were clicked, but were now opening up in the browser.  I started playing with the VF Page to alter this behaviour but soon discovered there’s actually a Salesforce setting that controls how different file types are

Read More

Calling a Workflow from a Custom Button

Matt/ July 11, 2016/ Salesforce

I had a requirement to place a custom button on a layout that needed to call a workflow to accomplish some action.  This can’t be done natively but there is a neat little trick you can employ.

Triggers: Before vs After

Matt/ March 10, 2016/ Salesforce

When you’re writing a trigger, you face a decision about whether your trigger will execute Before or After.  How do you decide?

Using Dynamic URLS to access Static Resources

Matt/ February 25, 2016/ Salesforce

I think we’ve all been guilty of hardcoding URLs at some time – I tend to do it when I’m whizzing through some development and I’m too in the zone to do things properly.  I’ll just come back and fix it once I’m out of the zone.