Sitecore MVP 2015 Winner

Sitecore MVP Technology 2015Thank you Sitecore for awarding me “Technology Most Valuable Professional (MVP)” again! Third year in a row. This year 141 people worldwide are named MVP this year. There are more than 26,000 developers in Sitecore’s global network.

Now it it’s ninth year, Sitecore’s MVP program recognizes individual technology and digital strategy advocates who share their Sitecore passion and expertise to offer positive customer experiences that drive business results. The Sitecore Technology MVP Award recognizes the most active Sitecore experts from around the world who participate in online and offline communities to share their knowledge with other Sitecore partners and customers.

“We are grateful for the leadership, expertise and ongoing contributions that Mikael Högberg has made to the Sitecore community,” said Lars Fløe Nielsen, Co-Founder and senior vice president, technical marketing, Sitecore. “Mikael Högberg has demonstrated mastery of our technology and exemplifies the spirit of Sitecore.”

Again, thank you Sitecore!

First look at Saleae logic analyzer

Sale Logic Pro 16 RedToday I received my long awaited Saleae Logic Pro 16 logic analyzer. This fantastic little device has 16 input channels that can be individually configured as digital or analog inputs. With its USB3 interface, it’s able to capture data at pretty high speed too. Up to 500MS/s (million samples per second) digital and 50MS/s analog, but it drops a bit when using more channels though.

Saleae Logic Pro 16

To give it a first try, I hooked it up to the regular Arduino Uno compatible Sparkfun RedBoard that I already had running. I tapped into the I2C wires and an analogue wire and started sampling. It worked like a charm right away with no trouble at all. The screenshot below is actually from my very first run. A cool and neat detail are the wire colouring that follow the common resistor value coloring.

Saleae Hookup

When writing this, the Pro 16 is brand new and requires the latest beta software. It’s still very simple to install, use, and seems to be quite stable as well. The UI is intuitive and is quite easy to navigate. The protocol analysers are my favourites. Just attach an analyser and tell it what channels corresponds to each line, and it’ll decode all data.

Saleae software

It comes with a lot of protocol analysers for common interfaces, such as I2C, I2S, SPI, 1-Wire, CAN, JTAG, Midi, Modbus, PS/2, USB 1.1, HDMI etc. Now I hope I can find some time to write custom analysers for the DHT22 and WS2812. But it’s always that “spare-time-issue”…

Sitecore 8 preview: new UI

One of the many changes and new features in Sitecore 8 is the new UI. Gone is the old “XP-style” desktop and it’s replaced by a more “Win8-style” modern UI. Under the hood, since a few versions ago, Sitecore is in the transition of replacing Sheer UI with SPEAK (Sitecore Process Enablement and Acceleration Kit) UI.

Sitecore 8 has a new clean, nice looking login screen. Gone are the hidden “Desktop”, “Content Editor”, “Page Editor” and “Launch Pad” options. It takes you directly to a new launch pad where common tasks are easily available. It’s more focused around editors and marketeers, but administrators still find easy access to the Desktop and Content Editor.

The lighthouse is gone
Firing up the Desktop, you find a “Windows 10-style” (?) desktop. Well, think Windows 8 but with a proper start menu, like the way Windows should have been in the first place. The old default lighthouse background image has also done its job by now and is replaced.

At a glance, the Desktop and Content Editor seems to be replaced by SPEAK, but looking under the hood, it hasn’t. Though I haven’t digged too deep into the internals yet, the components are still the same in the Desktop/Content Editor, but they are re-skinned in such way it looks like the other SPEAK UI’s. This has both pros and cons.

The good thing is that most plugins, modules and other adaptations that you’ve implemented or installed, will probably work without giving too much of a headache. That is, if you haven’t provided your own css’ to your plugin of course.

On the downside is that it isn’t SPEAK. Even though we’ve over time learned how to make changes to Sheer UI in Sitecore 6.x/7.x, it wasn’t really meant to be extended (hope I remember right what Jakob Christensen said on Barcelona). The fact that DataView still returns a set of native Items instead of DTO objects and the controls for editing fields are virtually impossible to reuse in a custom way, is holding me back from creating all sorts of really nice stuff.

A new take on multi lingual sites
To me, the ability to version renderings is one of, if not the most, valuable feature in Sitecore 8. In previous Sitecore versions, the fact that the common Rendering field is shared, quite often becomes a show stopper when aiming for a common site structure. So you were left with the only option of having one tree per market/language and all the problems that comes with it. Well, cloning does help, especially combined with custom tools for managing multiple trees and having them in sync, but usually it still generates a lot of overhead and requires extra thoughts.

In version 8, Sitecore has added a new versioned Final Rendering field. The old shared Renderings field is still there, untouched, so existing code will still work. The Final Rendering fields just adds another rendering delta, so the functionality is the same, well proven one, as is already being used in the standard values and clone inheritance structure.

So what does this mean in reality? In my opinion, it means a lot more than meets the eye. You can now build large multi language, multi market web sites in one shared structure, without having to sacrifice too much functionality. Developers will configure default renderings in Standard values, as we’ve always done. Editors of a master site will, when needed, edit the old shared Rendering filed. Local editors can then be given access to edit only this new Final Rendeing field, so that they can’t mess up other language versions. This also makes governance of multiple markets/languages a lot easier.

Sitecore dataviews

Have you ever needed a way of customising the content tree in Sitecore? I had, and got some excellent insights on how to do this, and some more info about Sitecore internals from the fantastic Sitecore support team!

I had a scenario where I wanted to filter out some items from the content tree, in both the Content Editor and from the Navigation bar in the Page Editor, that where not relevant to certain users. In my particular case, I have a common content tree that is translated into many languages, but some sections, such as a news section, contains a lot of locally produced items. Those items typically have only one language version, so those sections becomes very cluttered, with a lot of items that is just irrelevant to all the other content editors. I.e. there are a lot of items that don’t have a version on the current language, and there’s usually no need to translate them either.

So, I wanted a way to hide those non-translated items from the content tree, depending on the current selected language. With some help from Sitecore support, we came up with the idea of implementing our own Master Dataview.
Continue reading

Sitecore 6.0-7.0 and Chrome 37+ showModalDialog()

Since Chrome version 37, the deprecated showModalDialog has been disabled. Firefox is about to do the same and has been sending out deprecation warnings since version 28 as well. Sitecore version 6.0 to 7.0 uses this javascript method to open up dialog boxes, and Sitecore has released a patch for it. Sitecore 7.1 and above does not use this deprecated method.

RTE Show EditorThe patch works well in the Content Editor, but we’ve found that it doesn’t when running Sitecore in Desktop mode. When editing items, the “Show Editor” button no longer works for RichTextEditor fields. Looking at the javascript console you get the error “Cannot find RTE frame object”.
Continue reading

Hello MicroView

MicroView on FingerMy intention was to spend this evening playing around with Sitecore 8 and blog about it, but unfortunately there were some trouble with the distribution of the Technical preview. But today I received a long awaited UPS package with two MicroViews. It’s basically a small Arduino with a 64×48 pixel oled display built into a standard DIP package.

I found the device really simple to work with. Just hook it into to a computer using a FTDI interface and program in with the common Arduino IDE works really well! Geek Ammo and Sparkfun has done a really good job in making a user friendly product. So, instead of the standard “Hello World” program, I decided to try do something a little bit more useful with it as a first project.

In our vacation house in Lappland, about 1000km away from home, I have a little Raspberry PI hooked up with some sensors measuring temperate etc. It sends this data periodically to one of my servers at home. Using another Raspberry PI at home, I made a very simple little script that gets the current sensor values and transmits it to the MicroView over a serial line. The MicroView then reads this data and displays the current indoor and outdoor temperature and the indoor humidity at the vacation house.

Microview WeatherWell, it’s not very pretty, actually it looks quite ugly, but as I write this blog post, it’s only three hours since I unboxed the MicroView. (The poor picture quality doesn’t help.) Now that’s what I call rapid prototyping!

Maybe next project could be showing some of the Sitecore 8 launch pad diagrams of, for example, campaign conversions and visit values, on the MicroView 🙂

Sitecore Date Time picker with time zone

Dealing with date, time and time zones are really quite simple, but developers tend to screw things up over and over again make a huge mess of it. There are just a few things to keep in mind, and you’re good to go.

Update: I’ve now posted some code on github that can be used to make this Sitecore field: Sitecore.DateTimeZoneField

Continue reading

Sitecore 7.2 is out!

Sitecore 7.2 is just released and contains a lot of updates. Nice to see that a lot of things has been improved regarding publishing. The publishing dialog has been updated as well, incorporating all the features I’ve previously blogged about.

Support for IE11 and MVC 5.1 is there as well and the search UI is now a bit more intuitive, enabling “+” and “-” prefixes to indicate search logic. But I just don’t get the business value of the new language specific multivariate testing feature. Looking at how it’s implemented, I believe that feature was a bad move. Why didn’t Sitecore focus on unsharing the __Layout field instead?

A lot of small fixes has been made under the hood as well, such as improved caching and you can leave out the links database on the delivery environment. Nice!

Full release notes are here.

SXSW Day 4

2014 SXSW InteractiveIt’s been a bit hard to find clear trends, or brand new things, here at South by South West. It’s been more about refining things we already now and a lot of areas are maturing more and more. For example; wearables, 3D printers, the maker culture, connected cars and so on isn’t really new but are discussed a lot. We’ve known about it for quite some time now, but people starts to get a better understanding on how to relate to all this.

However, one area that is getting a lot of attention is personal privacy and what happens when everything is online. Lots of sessions talks about consequences of big data, meta data, data from devices (related to Internet of things), owning your data, mass surveillance and so on.

This area obviously got a lot of attention on day four, having two main sessions on Edward Snowden. Starting of with Snowden 2.0: A Field Report from the NSA Archives with Barton Gellman who is one of three journalists having direct contact with Snowden. A really interesting talk enlighten the enormous impact of PRISM and other massive data collection initiatives have on personal privacy. Nice to see a journalists that actually understand the technical stuff going on here and is able to share it with a wide audience. Now it’s not just the tin foil hats that starts to understand what this is all about.

Next up was a streamed live interview with Edward Snowdem himself, A Virtual Conversation with Edward Snowden. I wasn’t sure they would actually pull this off, but with heavily encrypted lines through seven proxy servers, they managed to get video streamed interview with him, though the frame rate was like 1 fps. The main problem today is that reasonable secure tools, such as PGP, are far too complicated for regular users. There may be many views of Snowdens actions, but he’s certainly made both people and companies aware of the problem of misusing mass surveillance data and we’re seeing more and more services being encrypted by default. But there’s still a long way to go.

During the two sessions, a not so well known issue was highlighted, that NSA partnered with global companies to deliberately put weaknesses in security applications and weakened random number generation in common used encryption algorithms, in order to “pass government approval”. When widely used algorithms, TPM-chips etc are compromised, you cannot trust anything being really secure. They might have thought mass surveillance was to be a good idea, but in reality it didn’t work.

Snowden argues that there is really no way to hide from NSA if you’re a target, but if we learn how to leverage from encryption, and the tools become easy to use, breaking the encryption would be too costly and of no value for mass surveillance. Unfortunatly it seems like we need whistleblowes, such as Snowden, for big companies to get it, and have theirdata and connections be secure and encrypted. What do we need to do in order to ensure all other companies follows? A more in depth interview summary is here.

Moving on to some trend spotting. There’s a lot of buzz about wearables, but finally I saw something new. Smartphone connected illuminated T-shirts that is made of soft cloth, is washable etc as any other textile. No circuit boards here! Those are still hand made and very costly, but they’ll soon be affordable. Trend spotters are also talking a lot about google glasses, having sensors everywhere, especially in the sports area, where we’ll be able to monitor heart rates, speeds etc of athletes. Some argues that sensors in our clothes will soon solve a lot of health care issues as well. A lot of focus is also on autonomous cars and what we’ll have on the journey getting there, such as the car knowing where your heading and so on. But of course privacy comes into play here as well.

SXSW Day 3

2014 SXSW InteractiveAnother great day at South by South West! Todays schedule started a bit later, and apparently we’ve change daylight saving as well. Didn’t know that until in the afternoon. Phone and computer doing its job 😉

My plan for today was to just stick around the major session halls in the Austin Conference Center, trying to find good speakers in favour of subject. So I found myself mostly in the large main keynote session hall listening to whatever was presented there. This turned out to be a really good move.

Dean Kamen Robotic "Luke" armDean Kamen, best known for inventing the Segway, held the first session. He also showed his robotic “Luke” arm and his projects on creating drinking water and electricity for developing countries. A lot of focus got to his FIRST project, For Inspiration and Recognition of Science and Technology, to inspire students at all ages through sports.

Next up was Stephen Wolfram on Injecting Computation Everywhere. He’s the creator of the Mathematica computation system. He showed live demos of the awesome Wolfram language, connecting linguistic analysis with real world data with mathematical and logical operations resulting in amazing small pieces of applications that he deployed to live cloud API’s. Watch out for the upcoming Wolfram Programming Cloud and try out the wolframalpha.com website. Try it out and ask questions, such as “Where is ISS”, “Height of Petronas tower”, “sunrise to sunset in gothenburg”, “Cities in Sweden by population”.

Todays keynote The Future of Genetics in Our Everyday Lives with Anne Wojcicki, founder of 23andMe, gave a little more insights on US health care and the forces driving patient treatment in favour of preventive health services.

Wrapping up todays sessions with a portion of Wearables & Beyond With Shaq, hosted by Rick Valencia and Shaquille O’Neal. Sorry guys, putting an ex-baseball & rap star on the scene won’t compensate for lack of content.

ExoskelettonToday was also the opening of the SXSW Trade show with a whole bunch of exhibitors. A bit too much to grasp in an hour, but an exoskeleton, an interactive billiard table, small satellites, vinyl engraver and scanning post-it notes into Evernote caught my attention. Thanks Sitecore for the power bank charger! Invaluable these days.

SXSW Day 2

2014 SXSW InteractiveI took a dev track on day two of SXSW, starting of with Star Trek UX | UI Rules for phones, tablets and TVs. The idea was to take the simplicity of Star Trek UI into regular UI, such as plain graphical elements, leverage from voice commands and audio, leverage from large screens and keep things simple.

Next up De-Suckifying Third-Party JavaScript with Kent Brewster on how to ship widgets that will run on other web sites. Among things, he’s been working a lot on the Pinterest API. Key take away: Be very careful when building this kind of stuff or you’ll break others websites and host your code on github or equivalent. As a user of this stuff, you’ll have to trust the author, so select widgets with care. Consider self hosting. Kent’s presentation is here http://kentbrew.com/desuckify (navigate with arrows).

Next up was CSS Pre-Processor Myths with Ramon Lapenta. I’m happy to see his survey that the majority of developers (~80%) in Europe leverages from such tools. Strange it’s almost the other way around in America. To summarise, do use it!

Then I took a short trip to the SXSW Gaming Expo and SXSW Create. Nice to see all these creative kids playing around with 3D-printers building hexacopters, sewing E-textiles and creating all sorts of cool stuff. I also had the time to say hi to the nice guys at Sparkfun and check out a laser cutter. The Gaming Expo on the other hand, unfortunately, wasn’t worth the ten minutes I waisted there.

Instead I headed back to the keynote conversation with Dr Neil deGrasse Tyson. A really entertaining speech about education and inspiring people to learn stuff.

Continuing my dev track, I went to Jeremiah Lee Cohick great speech, full of energy, on Design Patterns Beyond REST. He summarised all the things we developers always should do, but sometimes finds excuses not to. One of my favourites was developers complaining about it’s hard to make an API do this and that… “Well, I don’t care if it’s hard for you. Solve it, and make it easy for all others that’s gonna use it!”. Jeremiah argues that API’s should be simple, descriptive and intuitive, so they are simple to understand, debug etc, and I couldn’t agree more. My favourite quote: “The secret to machines talking to machines is to speak human first”.

Jeremiah’s and Kent’s sessions was by far the best dev sessions today! Thank’s! The others wasn’t really up to the level I expected unfortunately.

What could be better than wrapping up a long day with a panel discussion about cats on the Internet.
Evolution

SXSW Day 1

2014 SXSW InteractiveFirst day at SXSW, Austin TX, was a great start of a fantastic event. My day started quite nice an slow, with the some queueing and light sessions about UI design and Digital Disruption – The Next Wave of Innovation.

Then on to a bit more comprehensive session about the Lego eco system and their fans. This session talked about the fine edge of controlling a brand and use your fan base, without having a huge mob turning against you. A really good discussion about how grown up Lego fans improve the brand, but stil kept on a level where it applies to virtually any brand.

Then on to todays keynote with Austin Kleon and his new book “Show your work!”. A great speech starting off with Picasso, Vampires and Human spam. There are no geniuses, only sceniuses. “Shut up and listen” to people, credit people and their work, share your work and make relevant connection and you’ll succeed.

Then on to a short but interesting session about “Designing Smart Objects for Emotional People”, talking about how our machines can sense our feelings, through eye tracking, touch, breath, speech etc.

Best session today was the panel discussion about “The Future of Making” with Joi Ito from MIT and Tim Brown from IDEO. A wonderful mix of design tools, gigant 3D printers, biochemistry, self building structures, custom fabrication etc, discussed from both the individual and global perspective with a nice meta perspective touch. Just awesome!

Sitecore and image ALT texts

If you, like me, develop multi-lingual sites and go for unversioned Media Items, you may stumble upon a couple of problems. Usually we think of media items as a replacement of a regular file, i.e. some kind of binary data that is always the same regardless of its context. The most obvious advantage of a media item over a regular file, is that we can track its usage. That’s really hard with a regular file stored in the file system. The second advantage is of course the ability to decorate a media item with meta data, such as image dimensions etc. Many of these values can be considered as shared values, but some times we want alternative content on different languages, such as alternative (ALT) texts on images. Now the dark clouds are looming…
Continue reading

Sitecore 7.1 is out!

I just got back from Sitecore HQ in Copenhagen after a MVP meeting where Tim Ward and Martin Hyldahl held a great presentation about new cool upcoming stuff in Sitecore. I really appreciate the invitation from Sitecore to let us MVP’s participate in the early development process and give input and feedback to all those brilliant ideas!

While on that meeting, I got some pings about the release of Sitecore 7.1. It’s now available for download on SDN. I’ve had a copy of it since the Miami summit, so I’ve had a little time to play around with it.

The key new stuff is of course Sitecore Process Enablement & Accelerator Kit, aka SPEAK. You’ve probably heard the buzz for some time now. At its basics, it’s really about creating backend UI’s and applications in a more convenient and streamlined way. Eventually it’ll replace Shear UI, but don’t consider using it for the front end web. It’s not meant for that, at least not yet. If you’ve installed one of the later versions of ECM, you might have noticed the speak folder in the shell. This is not SPEAK. The real SPEAK UI Framework is released now in Sitecore 7.1.

Along with SPEAK, comes a set of updated UI components in the CMS backend, such as selecting items from the Media Library and inserting links.

The second big news is that Sitecore Rocks is now in version 1.0 (1.0.1 actually) and is a supported product. Rocks is actually required to develop SPEAK applications, but who would ever consider developing such stuff without Rocks anyway? If you’re not working with Rocks already, it’s about time you start.

Sitecore has also done improvements to the Rules Engine. Some as part of the SPEAK implementation but you can leverage this in other areas as well. There is also support for MVC 4 and the Sitecore Item Web API has been improved and is now distributed as part of the product instead as a package.

There are also some minor, but still important, improvements and fixes. We finally got rid of the annoying Guids in the search boxes. It now displays the proper item names and the Guid is exposed when hovering instead. Now we just want inclusive to be the default search operation and not the third option.

New PCB’s recieved

PCB'sGot a set of new PCB’s from OSH Park today. Time for some soldering. This one is a bit more generic, so I can mount different sets of components to gain different functions. Fully mounted it’ll measure three temperatures, pressure, humidity, wind speed and direction, rain, sun light and snow depth. The data will be stored on a microSD card and sent wirelessly. My goal is to run this board for at least six months on two AA-batteries.

Sitecore MVP Summit summary

On my way home from the excellent summit of two full days of inspiration with 64 of the 104 best Sitecore developers in the world were gathered at the James Royal Palm hotel at South Beach, Miami.

Starting up day one with the mandatory keynote by Michael Seifert and Lars Nielsen, we were informed that we MVP’s as a group only make up were the top 0.035% of all Sitecore developers. Nice stats!

John West scratched the surface of SPEAK, Star Wars style. Unfortunately we can’t talk much more about that right now.

After lunch, Nate Barad took us through the Insiders Roadmap. Really cool upcoming stuff ensuring Sitecore will extend it’s visionary lead in the industry. Competitors, watch out!

We then had a 45 minute group challenge. Given different tasks and grouped into seven teams, we had to convince the jury that our solution to our problem was the best one. Tough competition with only MVP’s on site. Our team didn’t came out as overall winners, but were announced the Most Creative Team price during the evening dinner on board the Venetia Lady Yacht.

Second day we dived deep into the Links Database with Alex Shyba who challenged the demo goods with a prototype of… something related to the Links Database, for MVP eyes only.

A great open Q&A session with the whole present Sitecore team, brought up a lot of interesting discussions and clarified some more details of where Sitecore is heading with certain parts of the product.

Anthony Hook had another secret session with the newest and coolest upcoming stuff. I shouldn’t even disclose the subject I guess..

We had a really good non-technical session with Thomas Eldblom about the IT/Marketing Gap, Digital Marketing Governance. Most customers should listen this session!

Adam Najmanowicz showed us a really cool Zen Garden Framework were he’s done amazing things with the Page Editor and a way of managing parallel development. This is probably the way to go forward in order to tighten up the project time schedule.

Lars Nielsen wrapped up the summit with the story of Sitecore from the very beginning.

Unfortunately I missed the welcome party on Wednesday, but we had some time to meet and network between us MVP’s as well. As important as anything else on the summit.

A big Thank You to Pieter Brinkman and Marissi Dresnek for arranging all this, and I’m looking forward to .next years summit!

Sitecore MVP Summit website.

Sitecore MVPs at the beach

Build settings for TDS

Yesterday I spent some time with the nice guys at Hedgehog Development and I remembered a problem that we’ve experienced lately in our team.

The problem we had, is that TDS sometimes doesn’t copy the right files into our web project. Actually, it turned out it didn’t copy the latest versions of the recently built files. This can happen sometimes when using parallel builds, so TDS may start copy the files into the web project before the other builds are completely finished. Change the build options in Tools->Options->Project and Solutions->Build and run and set the maximum number of parallel project builds to 1, so that projects are built once at a time.

Build options

Works perfectly for me! Thank you guys!

Sitecore MVP Summit Challenge – Team 7

Update: At the Sitecore MVP Summit 2013, day 1, we were divided into seven teams and were each given a group challenge. Our team got the question “Present the best way to manage your Sitecore blog”. We had 45 minutes to come up with a presentation, so we decided on writing a blog post about it. Below are the result findings used during the presentation at The James Palm Beach Hotel, Miami, USA. This blog post was tweeted and commented during the presentation.

The presentation also included singing the Sitecore blogging song!

The MVP team members:

Continue reading

Add a proper LastModified field to Sitecore

To track item changes Sitecore uses the “__Updated” field in the Statistics section. It’s a normal Datetime field i.e. it contains a date for every language and version. This is fine in most cases, but sometimes you need to track changes a bit further. For example when you change a shared field, you’re applying a change to all languages and versions. So how do you track those changes?

An image in the Media Library is a typical example of this problem. If you change the image, you’ve changed the item on all languages, but if you just add a translation to the “ALT” text, you’ve only changed that particular version.
Continue reading