If you decide to develop WordPress plugins without the use of automated unit testing, you are setting yourself up for a great deal of wasted time over the long term. Automated unit testing allows one to validate the quality of code, reduce the likelihood of software bugs appearing in production, and easily verifies the compatibility […]
Continue Reading...Author: sam.perrow
The Perfect WordPress .htaccess File
Personally, I believe the majority of WordPress users instinctively resort to solving performance, security, and configuring URL-redirect issues by adding bloated, over-engineered, and frequently costly plugins to their WordPress installation. However a great majority of these issues can be resolved simply by utilizing a properly configured .htaccess file. Once configured properly, your site can be […]
Continue Reading...Export HTML Table as XLSX File
Contrary to some opinions floating around the Internet, it is in fact possible to export an HTML table as an .xlsx document (as well as .xls, .csv, and others), using only client side code, thanks to the useful Sheet JS library. The .xlsx file format is the one used by the most recent version of […]
Continue Reading...Send Blind CC Email Addresses From Workflows
I did not think it were possible to send blind CC emails from SharePoint, but recently I learned that it can be done, thanks to a co-worker’s suggestion. Based on the default “Send Email” SP workflow action, you wouldn’t think it were possible to add blind CC email addresses because there is no option for […]
Continue Reading...Update Custom SharePoint Forms with JavaScript
If you did not believe that custom SharePoint forms could be updated with client side code, guess again. The script below utilizes the SP.FileCreationInformation?object available in SP 2013 to write file content to whichever forms are specified by the user, to as many subsites as desired within a site collection. This script can be extremely […]
Continue Reading...The Magic of Query Filter Web Parts
TLDR- Query string filter web parts can be implemented to dramatically reduce the amount of content that needs to be produced, maintained, and updated. They work by reading the current URL and sending a parameter from that to filter list data from a SharePoint list. Query string web parts can be set up to dynamically […]
Continue Reading...Generate Valid Self Signed Certificate
While attempting to create self-signed certificates on my local dev environment, I followed several certificate creation strategies from many respected articles, each of which failed to create a legitimate HTTPS web page. Most browsers have increased the requirements for what valid certificates are, and so many articles out there are no longer accurate. I consistently […]
Continue Reading...Get Rid of Phantom Workflows
On many older lists and workflows I have worked with, I have noticed many workflows that continue to be triggered long after they have been deleted or unactivated. It appears that these phantom workflows continue to be triggered when lists are created from list templates (from an .stp file). I suspect a SharePoint bug is […]
Continue Reading...Send Emails After Note Board Comments
The SharePoint web part Note Board is a very useful tool add to pages so users can post comments to the public. Unfortunately Note Board saves users’ comments in each users’ profile in MySites rather than a SharePoint list, so workflows cannot be triggered after a new comment. Problem There is no native SharePoint way […]
Continue Reading...SP Calendar Pro
I have created this JavaScript library in order to facilitate operations involving SharePoint calendars. I was inspired to create this because I have dealt with several calendar related projects at work that require collecting and filtering of calendars based on user provided datetimes. I realized how incredibly painstaking it was to collect calendar events from […]
Continue Reading...