For thoose of you that where attending the dreamcore in
Copenhagen, know about this nice little easy piece of code,
Actually it is One line of code that can help you a lot in sitecore
backend. I have for while been doing a lot of work in the core
content editor and offen had to switch back and forth between the
Core content editor and Master database content editor. So after
seen Raul Jimenz Presentation af Dreamcore aI thought wow cool I
what the same functionality just with a minor twist, I would like
my shortcut to be placed in Tray of the Desktop of the sitecore
backend. I know this is easy to do, but sometimes easy to do things
get overlooked I now I did for this. Okay here we go, lets start
with adding the an icon with an click action in the tray let's
start by going to the core editor go to:
/sitecore/content/Applications/Desktop/Tray/CoreContentEditor
and insert an item as shown


Okay now open the command.config file for you sitecore solution
and add the with reference to to command you wrote in core editor
of sitecore. Remenber that syntax is FullClassName,NameSpace.
<command name="Tray:CoreContentEditor"
type="CoreContentEditor.TrayCommandCoreContentEditor,CoreContentEditor"
/>
Now tho the code it is simple one line of code.
namespace PT.CoreContentEditor
{
public class TrayCommandCoreContentEditor : Command
{
public override void Execute(CommandContext context)
{
Sitecore.Shell.Framework.Windows.RunApplication("Content Editor", "sc_content=core");
}
}
}
And now let's see it in action

Again I know it is easy to do, but i think it is so nice to could
switch back and forth without having to open the content editor
everytime. Note you could also make a shortcut for the webdatabase.
Changing sc_content=core to sc_content=web.