Skip to main content
9 votes
Accepted

How do you add a custom context menu to run an SPE script not in the scripts section?

The first step would be to create a custom script in one of your modules. For example, create a custom SPE module using the wizard followed by whatever library structure you prefer. Check out the ...
Michael West's user avatar
  • 18.2k
4 votes
Accepted

Sitecore task schedule editor missing

Sitecore does not come with any editor for schedules out of the box. It must be a custom plugin that is used in your solution. There is a plugin which looks like this: It's pretty old though. If that'...
Marek Musielak's user avatar
  • 23.9k
3 votes
Accepted

Custom Sitecore item delete handler

In order to achive this you can patch your implementation for the custom processor before the below pipeline. <configuration> <sitecore> <processors> <uiDeleteItems> ...
ckhanna's user avatar
  • 1,278
3 votes
Accepted

Simultaneous creation of Sitecore items programmatically is resulting in a duplicate item issue

You can implement createItem function using lock as below. This will ensure thread safety of the item creation code. private static readonly object padlock = new object(); public void CreateItem() {...
ckhanna's user avatar
  • 1,278
3 votes
Accepted

Custom popup / Sitecore client

I had the same requirement to create a custom popup on the Sitecore client that looks like this and here are some general steps you need to follow. Go to core database and open this path. /sitecore/...
Sumit Bhatia's user avatar
  • 5,133
3 votes

Disabling 'Remove,' 'Move Up,' and 'Move Down' Buttons of a Specific Rendering in Presentation Details and Experience Editor Based on User Role

From below link you can get idea which files you can target to achieve your requirement, I have added New buttons in Device Editor. https://github.com/rishishekhawat/AddMoveToTopAndBottomButtons So ...
Rishiraj Shekhawat's user avatar
3 votes

How to only allow the creation of a child item by given template

"Insert from template" option appear just for the admin user. You can not really remove it really easy and I don't recommend it to remove it. To have a flexible solution I recommend you to ...
Vlad Iobagiu's user avatar
  • 18.6k
2 votes
Accepted

How to add restriction to a Template Field so that it ll show/hide based on selected language version

For this you need to write some custom code snippet which allows you to hide the field on the basis of your condition. This is an example of code that you can follow and modify it as per your needs. ...
Sumit Bhatia's user avatar
  • 5,133
2 votes
Accepted

Disabling 'Remove,' 'Move Up,' and 'Move Down' Buttons of a Specific Rendering in Presentation Details and Experience Editor Based on User Role

On the file: sitecore\shell\Applications\Layouts\DeviceEditor\DeviceEditor.xml you have <Tab ID="ControlsTab" Header="Controls"> <div class="scStretch&...
Vlad Iobagiu's user avatar
  • 18.6k
2 votes
Accepted

Add class option in rich text editor in h2 tag

Do you want to add it under the Normal dropdown? If so first check your RTE Profile, which is being used in the template. based on that. Change the DB to Core Navigate to path /sitecore/system/...
Manoj's user avatar
  • 433
2 votes

Multiple items were found by alias 'User Type' when clicking on items in the content tree in content editor

This was caused by a bad Sidekick migration. A duplicate User Type Profile was imported into the Marketing Control Panel.
soze's user avatar
  • 123
1 vote
Accepted

How to create custom strips, buttons for content editor from asp.net project

You can create strips, chunk and button by navigating to the core database and creating them in below order. In order to create the strip, you need to navigate to following path /sitecore/content/...
ckhanna's user avatar
  • 1,278
1 vote

How to create custom strips, buttons for content editor from asp.net project

To create custom Tabs, Strips, Chunksk, Button in Sitecore, you need to create some items from different templates in the core database. Here are some steps that you need to create those items. ...
Sumit Bhatia's user avatar
  • 5,133
1 vote
Accepted

Content editor plugin development

You can check the following link to get details on the .Net Framework compatibility with the Sitecore versions. https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB0087164 Since ...
ckhanna's user avatar
  • 1,278
1 vote

How to fix Base template shown as string?

Sitecore consistently stores field values as plain text within the relevant Sitecore database. For basic fields like Single Line Text, there's no distinction between the displayed and original values; ...
Swati Gupta's user avatar
  • 3,205
1 vote

How to fix Base template shown as string?

You are looking at raw values of fields. Just uncheck below checkbox to display multi selection list - Hope this helps !
Vikrant Punwatkar's user avatar
1 vote

Custom popup / Sitecore client

I would recommend creating a custom event within item:saving event, invoking a dialog processor in the client pipeline, and pass it a set of arguments. Create a custom event handler public class ...
Sumit Helaiya's user avatar
1 vote
Accepted

Grey out content editor ribbon button

This is the solution that worked for me Create a Custom Command: Create a new class that inherits from Sitecore.Shell.Framework.Commands.Command and implement the necessary logic for your button. ...
Vinesh's user avatar
  • 153
1 vote

Grey out content editor ribbon button

To visually "grey out" a ribbon item, you can use custom CSS. You can apply CSS styles to make it appear disabled. I checked the html element for the ribbon chunk you mentioned in Sitecore 9....
Sreekrishnan's user avatar
1 vote

Tokens on Child Items

You need to create a custom token to achieve it. Create a custom Token processor inheriting ExpandInitialFieldValueProcessor with the following code. It checks if the value of the field contains the $...
Sumit Helaiya's user avatar
1 vote

How to add custom data attribute on Sitecore general link fields

You need to extend General Link field in Sitecore that way you can provide the ability to authors so that they can configure custom data attribute values. follow the steps to add extending general ...
Sumit Helaiya's user avatar
1 vote

Images don't reflect versioning in Rich Text Fields

We are experiencing the same issue on 9.3 and 10.3. On 1/4/24, I opened a case with Sitecore Support. They acknowledged that they can reproduce the bug, and are "are working closely with the ...
Daniel R's user avatar
1 vote

Load value dynamically in edit component properties window

You need to create a custom field in the rendering template and, when the item renders, write JavaScript code to bind the checkbox change event and populate the dropdown field value. For reference, ...
Neha Gupta's user avatar
1 vote

Sometimes publishing an item auto-selects all boxes

It is absolutely not possible that Smart/Republish radio button, Subitems and Related items checkboxes and language checkboxes are selected automatically on their own. All their values are coming from ...
Marek Musielak's user avatar
  • 23.9k
1 vote

Can We Affect Visibility of Review History?

The Sitecore workflow panel works a little bit differently and the workflow panel renders small buttons and added in a flag to decide whether it should be disabled/greyed out. This flag is only ever ...
Sumit Helaiya's user avatar

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