My brain is currently in a complete amoeba state. This is my first blog post since I started my paternity leave some 4 weeks ago. I had been planning to write a post a day but I guess this is not really how taking care of a baby works.
The Launch Pad was introduced in Sitecore 7.1 even though it back then did not contain any applications.
In Sitecore 7.5 the xFile application was added to the launch pad as the only application that shipped with Sitecore.
Sitecore 8 changes this. Now the Launch Pad is the default startup screen for all users.
This is where you start all applications, from the good-old content editor to the brand new PathAnalyzer application.
The approach shown in this post is for Sitecore 8 only. I have been using a MVP tech preview build. If this approach changes when Sitecore 8 is released then I will of course update this post accordingly.
So how do you register your own SPEAK app on the Launch Pad in Sitecore 8?
This is quite simple. The launch pad is actually just a SPEAK application by itself.
It is located in the core database under /sitecore/client/Applications/Launch Pad
When you edit the layout of the Launch Pad item in Sitecore Rocks you will notice the two Launch Pad specific renderings that is called LaunchBar and LaunchTiles
The LaunchBar rendering iterates over all child items placed beneath the PageSettings/Buttons item and presumes that these items are LaunchPad-Group items.
It then render out all child items presuming that these are Launchpad-Button items. Each Launchpad-button item has a field for an icon, a link and a text to represent the button.
Each new Launch-Pad group is placed horizontally in a row while the buttons are rendered out in columns of 3 beneath each group.
Below you see an example of this behavior with 3 new groups that contains various buttons.
This setup renders as shown in the screenshot below.
Getting back to the actual point of this post then to add a link on the Sitecore Launch Pad for your own SPEAK application then simply do the following.
- Create a new LaunchPad-Group item beneath /sitecore/client/Applications/Launch Pad/PageSettings/Buttons in the core database (optional)
- Create a new LaunchPad-Button item beneath the desired group
- Edit the Text, Link and Icon fields on the Button item. Notice that it is the field called Icon and not _Icon that you need to use.
That was it. My next post will be the long awaited one on the Bootstrap SPEAK component library. Stay tuned.
Anders Laub Christoffersen
Anders has been working with Sitecore for over a decade and has in this time been the lead developer and architect on several large scale enterprise solutions all around the world. Anders was appointed the title of Sitecore Technical MVP in 2014 and has been re-appointed the title every year since then.
- Web |
- More Posts
One thought on “Add a SPEAK application to the Sitecore 8 Launchpad”
Great post Anders!
I didn’t spot each group putting buttons into columns of 3… nice spot!
Here is another post we have on the LaunchPad apps. It’s about upgrading your existing LaunchPad apps when you move to Sitecore 8.
Just some minor changes for developers to be aware of.