Skip to main content


Showing posts from January, 2019

Backing up your computer files with OneDrive

I have had a lot of people ask how to back files from their computer so they can get rid of it or replace it or rebuild it with a new operating system (OS). There are a lot of options out there that can do this in different ways. I tend to bucket all these into two main categories. Cloud-based back and physical back-ups. Cloud-based backups are services that sync files into an online service run by some other company. Your files are synced to servers they run and manage and provide some level of guarantee about reliability, security, and availability. Here is some popular option: Carbonite iCloud Onedrive Dropbox Google Drive Physical back-ups are backups you make of the files with some type of physical storage you have alongside the computer you are backing up. Normally these are point-in-time backups. Meaning your data is only backed from that last time you remembered to do a copy of the files yourself (I know there are physical devices that will do scheduled backups bu

Setting a Sitecore Business Rule Operator Programatically

Normally when you create a Sitecore business rule you would define an operator configuration and let the user define the type of operator they want to use. An example of this is the "StringConditionOpertator" (found here /sitecore/system/Settings/Rules/Definitions/String Operators ). In a lot of cases, the user would select what type of operation to perform on the value they set. By type I mean things like "equals" or "contains" etc. Below is a list of operators you can use for a string condition. What if you wanted to create a custom rule that did a string operation but you always wanted it to be the same type of operator? You did not want to, for whatever reason, allow the user to specify how the string should be compared. You can do this by setting the OperatorId to the GUID from the item above. A word a warning here though. Make sure the string stays in the proper casing. If you create a constant for this and/or a GUID and do something like "