Hot answers tagged

6 votes
Accepted

Experience editor error: An error occurred. [Log message: Value cannot be null. Parameter name: version]

TLDR You have data source items that contain broken links. Long explanation: This error message occurs in the experience editor under the following conditions: Your item is in the final workflow ...
David Masters's user avatar
6 votes

Setup "My Toolbar" as the opener ribbon

Just move /sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/My item to the first position under its parent node. As Jason mentioned, this will affect all the users who use Content ...
Marek Musielak's user avatar
  • 22.9k
4 votes
Accepted

Pre-customize My Toolbar for users of a given role or domain?

The values for this are stored in the registry per user. Below is an example on how to modify the data with Sitecore PowerShell Extensions (SPE). $ribbonCommands = "{D33A0641-9F1C-4984-8342-...
Michael West's user avatar
  • 17.8k
4 votes

Prevent Content Editor from automatically switching ribbons

The contextual ribbon is controlled by the Ribbon field on the template of the item you are on. So for images, it would be on either the /sitecore/templates/System/Media/Unversioned/Image or /sitecore/...
Richard Seal's user avatar
  • 19.9k
4 votes
Accepted

Buggy UI when choosing icons in CE on Chrome/Firefox with Sitecore9u1

Looks like is a "bug" but you can change in other way the icons and is much easier. Select the template/item which you want to change the icon. Click on the icon from the middle of content editor. ...
Vlad Iobagiu's user avatar
  • 18.1k
3 votes

Prevent Content Editor from automatically switching ribbons

If you would like to avoid changing core Sitecore templates, you could consider another approach and adding a contextual right-click action to the item. That way it wouldn't matter what ribbon loaded ...
Jason St-Cyr's user avatar
  • 6,696
2 votes
Accepted

Initialize custom JS attached to Small Checkbox button on Experience Editor page load

The reason why on Page Load it does not trigger the JavaScript is because you need to set the PostponedCall value to false Using Sitecore Rocks, on the rendering SmallCheckButton, view the Properties ...
Hishaam Namooya's user avatar
2 votes
Accepted

Automatically check some ribbon item

As you have specified in your comment, clearing the cache from the cache.aspx page, fixed the issue. The reason why even clearing the cache from the code is not working is because the Context.Site is ...
Hishaam Namooya's user avatar
2 votes

How init custom check box value on Ribbon at Experience editor

There's a few things required to create the button and hook it all up in order to fire an action. The simplest way is to make a copy of an existing checkbox and make modifications (i.e. one from /...
jammykam's user avatar
  • 13.8k
2 votes
Accepted

Passing a Value From an Experience Editor Button to PipelineProcessorControlStateRequest<ItemContext>

This feels like a ton of hacking to pass some parameters. I opted to pass the ribbon id instead of individual field values because I ended up needing more parameters. Adding the id of the ribbon ...
Teeknow's user avatar
  • 2,477
2 votes

Prevent custom Ribbon button from redirecting to new item

You can solve this by introducing Progress Window. Break your Execute method into two separate methods like below. Execute method: public override void Execute(CommandContext context) { Assert....
Peter Procházka's user avatar
2 votes
Accepted

"Review" tab is missing in Experience Editor but appears in Content Editor

The Experience Editor does not have a "Review" tab. Items that have workflow applied will display the work flow options at the top of the page in a blue bar as in the screenshot below: ...
Richard Seal's user avatar
  • 19.9k
1 vote

How to add custom ribbon button in Experience Editor

I have implemented a custom button on the Experience Editor Ribbon. The requirement was to open a custom popup window by clicking on a button. So for this, I need to use Sitecore Rocks to create a ...
Sumit Bhatia's user avatar
  • 4,472
1 vote

Changing state of custom Ribbon controls

You can change the text of the button by overriding the following method: public override string GetHeader(CommandContext context, string header) { //Build some logic here return "Modified ...
Árvai Mihály's user avatar
1 vote

Passing a Value From an Experience Editor Button to PipelineProcessorControlStateRequest<ItemContext>

As far as I see this is not really supported without hacking Sitecore. The LargeButton has his own .js and .cshtml which is collecting the properties from the core database. Exactly in the following ...
Tamás Tárnok's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible