Why developers should go to Dreamforce, and how you should prepare.
With Dreamforce just around the corner, it seems appropriate to do my list of reasons why developers should go to this conference. Over the past couple of years, Salesforce has really stepped up their...
View ArticleDisplaying Salesforce Test Status in screen using JSforce
This post will probably only be useful to one other person out there, but it was a fun exercise and thought I’d at least share my output. One of the biggest challenges I have when running tests is that...
View ArticleGlobalPicklist changes in Winter ’17
Like many companies, we have a deployment process in place to handle changes in seasonal releases in Salesforce so that when a sandbox is ahead of production, we can still deploy to both without having...
View ArticleTable Header in PDFs with Visualforce
One of the problems I had with the way that we generated the PDFs in previous Battle Station Invoice posts was that the table header wasn’t repeated for long lists of supplies or resources that...
View ArticleStandard picklist changes Winter ’17
I wrote a couple of weeks ago I wrote about the GlobalPicklist changes in Winter ’17. This past week I learned that there was another change in the release notes that I overlooked. After updating the...
View ArticleList of objects for POST in Apex REST
A while ago, someone posted on the developer boards a question about how to bulk create tasks for contacts via REST. I thought it was an interesting enough problem to cover how to do it and how to...
View ArticleManaging reports and dashboards programatically
One of the challenges you get when you have a special snowflake org is lots of people want to write lots of reports and lots of dashboards for each of their special use cases. Now, lots of times...
View ArticleJavascript and Visualforce: Tips and Tricks
In the web 7.0 or whatever version of the web we’re in, Javascript is king. Now, there’s lots of stuff you can do directly with Visualforce (like dynamic picklists) but sometimes for the best user...
View ArticleVPN Setup and Auto Connect from Command-line
New servers mean new things to play with and new setups that have to be done. I set up a new VM that I wanted to always be connected to a VPN and for that VPN to come up whenever the system is...
View ArticleMilestone Trigger Time Calculator
I recently stumbled upon a “new” feature in Salesforce that allows you to use an Apex class to calculate your milestone trigger time for entitlement processes. Given a new feature that I’m working on...
View ArticleJira Attachments: Getting an attachment from a Jira
I previously did a post on writing Jira Attachments from Salesforce, and the question has come up of how to write Jira Attachments into Salesforce. This is actually WAAAAY easier than it was to write...
View ArticleJMeter – Logging Into Salesforce for Automated Testing
I’ve written quite a few web services in Salesforce, and I’ve written about them a couple of times. And my love of testing is pretty well known. One thing that’s always been a problem is testing the...
View ArticlePostman – Logging in to Salesforce
We’ve been slowly replacing all of our SOAP endpoints with REST endpoints inside of Salesforce. The upside of this is that they are much easier to use. The downside is that they are harder to...
View ArticleTurning off a warmer: An intro to home automation
Now this little warmer may look innocent enough, but it’s a disaster waiting to happen. If you leave it alone, it will kill your whole family without remorse. Ok, that may be a bit hyperbolic, but...
View ArticlePMD and Salesforce: Clean Code is Awesome
If you’re not aware, having clean code is more than just about readability. It’s about sustainability, re-usability and knowing that your code is doing what you want it to do. This is where PMD comes...
View ArticleAway time in Home Assistant and surviving reboots
One of the biggest reasons I wanted to set up Home Assistant was to be able to handle a “vacation mode” for my house to change things like the thermostats and lighting. The addition of an...
View ArticleChange Data Capture with Nodejs
There’s a new feature in Salesforce called Change Data Capture that allows you to subscribe to a Cometd endpoint and stream changes to most or some of your objects. I’ve talked in a previous post...
View ArticlePi-hole setup on Raspberry Pi Zero
If you’ve not noticed, ads on the internet are everywhere. On my personal machine, I run uMatrix in chrome and it works great for blocking things but that’s not really an option for all devices (like...
View ArticleSingle Sign-On in Salesforce with Google
I started down this path to flesh out a proof of concept for a related task. However, the Single Sign-On provider that we use is difficult to get access to and not worth the time to try to get...
View ArticleJWT Bearer Authentication: Salesforce and Node
If you’ve done much API generation then you’ll that you don’t want to have to make your users authenticate multiple times just because your API is going somewhere external. For example, if you have...
View Article