Add extra validation for a shortcut

Happy New Year everyone! Mine started out well... suddenly, without a deployment or Azure issues, a website went completely unresponsive.  "502 - Web server received an invalid response while acting as a gateway or proxy server" Looking at the change log there was a content change just before the site went down. The change made … Continue reading Add extra validation for a shortcut

Automatically tag images after uploading

Getting editors to properly tag the images they upload can be quite a challenge, if you need/want them tagged of course. The Computer Vision API can be of assistance. It only supports English and Simplified Chinese at the moment though, as you can read in the API reference. You could of course use the translation … Continue reading Automatically tag images after uploading

Use ENUM MetaField as property on your product/variation

Sometimes you may want to use an enum from Business Foundation on your product/variation. In my case the “Organization Customer Group” that can be set on an Organization. For this you need a custom “SelectManyAttribute” and a “SelectionFactory”. This attribute doe not do more than set the selection factory and the name of the enum … Continue reading Use ENUM MetaField as property on your product/variation

A property control with a fallback

So I ran into a problem, or maybe a bug, while using the Property Control in a WebForms implementation. I needed to have a backup value for a property. e.g. if you have an introduction property on a page and a description to be used in the MetaData, you might want to return the content … Continue reading A property control with a fallback