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 ...
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 ...
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-...
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/...
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. ...
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 ...
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 ...
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 ...
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 /...
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 ...
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....
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:
...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ribbon × 22experience-editor × 10
content-editor × 9
speak × 3
powershell × 2
commands × 2
sitecore-client × 1
azure × 1
media-library × 1
security × 1
workflow × 1
content-management × 1
custom-field × 1
user-profile × 1
cookies × 1
sheer-ui × 1