Questions tagged [content-editor]
For questions related to the Content Editor interface. Includes context menu, ribbon, content tree, field sections, field validations, etc.
345
questions
2
votes
1
answer
386
views
Custom fonts issue in Sitecore Content Editor (Rich Text Editor and Single Line Text Fields)
We are running through one issue in Sitecore, Please let me know if anyone faced similar issue and know the solution. We are trying to copy content from MSWord (Which uses custom fonts "Times new ...
3
votes
0
answers
68
views
Difference between "Copying -> Move To" and dragging an item to move it when the source item is in a bucket
In my SXA 10.3.1 site, I want to move a bucketable item out of a bucket and into an unbucketable folder that is a direct child of the parent bucket item. When doing so, I get different results based ...
1
vote
1
answer
75
views
Is it possible to target a specific page template in sitecore and convert all pages of that template into an SXA pages
Recently we have upgraded to Sitecore 10 XP, some of our pages are still using old templates. Is it possible to target a specific page template in Sitecore and convert all pages of that template into ...
1
vote
1
answer
364
views
Customizing Rich Text Editor to automatically link email addresses while editing
While I know you can hook into the item:save command or override the scSendRequest method, is there a better way to automatically make email addresses self mailto link when entered? (think of MS word, ...
1
vote
2
answers
300
views
Paste from Word, Still Bringing Over Custom Formatting
We have an internal editorial process which requires team members to make text updates in Microsoft Word before posting in Sitecore. We've tried all of the different pasting options from the Rich Text ...
1
vote
1
answer
90
views
How can I call render ribbon from code?
I have CustomPanel class.
public class CustomPanel : RibbonPanel
{
public int SelectedItemCount { get; set; }
private const string SelectedItems = "Seleceted items:";
public ...
1
vote
1
answer
95
views
Customize Image Property in Sitecore Rich Text Field
I want to add some options in the CSS Class DD in image property of Sitecore rich text field. And want to add Src field to the panel as in the image which to be shown below the image and Tile above ...
1
vote
0
answers
61
views
Sitecore Link Inserted at Top of Page Instead of Desired Location
When using the content editor, a user encounters an issue where, upon opening the rich text editor and adding a Sitecore link, the link is placed at the top of the editor instead of at the intended ...
1
vote
2
answers
111
views
Spell checker through powershell script
I am using Sitecore 9.1 with SXA 1.8. I need to check the spelling on the whole page ( has multiple components) using a PowerShell script.
I have tried the OOTB functionality for the spelling option ...
1
vote
0
answers
46
views
Clicking on an item throws error
When a user clicks on a particular item alone she is encountering a 500 custom error page. Below is the stack trace from log.
This issue is happening for one particular user and not for all.
Call ...
1
vote
0
answers
53
views
ReferenceError: Sys is not defined
We are facing this issue whenever we try to open the hyperlink manager in richtext it starts to throw the error.
I have checked the webconfig the Telerik dialogue handler is present.
Can you please ...
0
votes
1
answer
63
views
Unable to get template id from content editor context item in custom image fields
We're currently using XM Cloud and we have a requirement to migrate media library from Sitecore to AEM (Adobe Experience Manager), so my approach is to leverage Sitecore.Shell.Applications....
0
votes
0
answers
44
views
Custom Validation-Make any one Field required at item level in Rendering Parameters template
Created custom item validation rule and in standard values of parameter template as suggested in below mentioned link.
Make one of two sitecore content fields required?
Here requirement is to validate ...
2
votes
2
answers
320
views
Search query custom path
I'm trying to build a search query to find an item that is a child of the current item. Something like this:
custom:path|./_local/*
But this returns 0 results (should be 3 results). How do I do ...
2
votes
1
answer
418
views
Sitecore Zip File Media Item Auto Downloads in Content Editor
I have a Sitecore media item in my media library that contains a zip file. In the content editor, when I navigate to this item, it starts the download of the zip media asset. Also, the usual zip icon ...
2
votes
1
answer
108
views
Bucketable Item is being removed from bucket
I have an item in Sitecore (10.0.1) that has 'Bucketable' and 'Lock Child Relationship' toggles set to True on their template's standard values:
Occasionally, we have a situation where certain items ...
1
vote
1
answer
28
views
Multiple items were found by alias 'User Type' when clicking on items in the content tree in content editor
The environment is Sitecore 10.2 on a Standalone environment. This is something I have never run into before. I get the Multiple items were found by alias 'User Type' when I click on certain nodes of ...
1
vote
2
answers
40
views
How to create custom strips, buttons for content editor from asp.net project
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<contentEditor>
<ribbons>
<strip id="...
1
vote
1
answer
45
views
Content editor plugin development
I need to develop a plugin for the Content Editor, with a custom tab, commands, and modal windows. Which project template do I need to use? Which .NET version should be used for the project?
sitecore ...
0
votes
1
answer
69
views
Custom Sitecore item delete handler
I need to execute a logic before the Sitecore item deletion event or before Sitecore shows delete warning. I am trying
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
&...
1
vote
2
answers
306
views
Can not delete copied items in Sitecore 7. Getting Error Job started: RemoveLinks|System.ArgumentNullException: Value cannot be null
Hello – As I’m working through Sitecore trying to add some pages and delete some, I’m running into this “Breaking Links” error that doesn’t allow me to delete pages I don’t need. For example, I now ...
0
votes
1
answer
77
views
Duplicate related items in Links under Navigate after Sitecore upgrade to 10.2
Upgraded an application on Sitecore XM from version 9 to 10.2.1. I installed Sitecore CM\CD via SIF and performed the clean-up of databases as per the SC-XP-10.2.0-Upgrade-Guide-en under section 3.1.3....
0
votes
2
answers
62
views
Load value dynamically in edit component properties window
I have a checkbox field(includelevel2) and I need to load the value dynamically in a droptree field(parent folder) based on the checkbox event. Is it possible to achieve because both the fields are ...
1
vote
1
answer
108
views
Simultaneous creation of Sitecore items programmatically is resulting in a duplicate item issue
I am facing this duplicate item issue while creating the item in Sitecore programmatically. I have exposed one custom API end point which is being called by another application. In this API, based on ...
0
votes
5
answers
72
views
How to fix Base template shown as string?
In my dev environment, the base template under Data becomes a pipe separated string instead of a Listview. How do I fix that?
1
vote
1
answer
72
views
Sitecore task schedule editor missing
In my Sitecore 10.1.2 local environment, when I click on any scheduled task, I get the following error as shown in the screenshot. it looks like the schedule editor does not work. This local Sitecore ...
0
votes
1
answer
85
views
Can't browse for rendering datasource and NullReferenceException in Sitecore.XA.Foundation.LocalDatasources
On my headless SXA 10.2 CM instance, I have a page in my tree (within a bucket) where if I try to browse for a rendering datasource, the popup does not appear, and an error appears in my logs. This ...
0
votes
0
answers
35
views
How to update a Multilist Source dynamically based on Selection made from DropDown Field [duplicate]
I have two fields one a Dropdown Field and other a Multilist field. The requirement is, on change of Dropdown field value the Source Tree of Multilist must be updated.
I tried creating a custom ...
2
votes
2
answers
127
views
Disabling 'Remove,' 'Move Up,' and 'Move Down' Buttons of a Specific Rendering in Presentation Details and Experience Editor Based on User Role
How can we restrict the removal of a specific rendering from presentation details of any page item based on role? Everything else should function normally, such as editing the data source, etc.
My ...
1
vote
1
answer
78
views
Custom TreelistEx field type which displays the Path of selected items [duplicate]
Is there some open-source custom field type for Sitecore which works similar to the TreelistEx field, but displays the paths of the selected items? Or perhaps, is there some way to configure the ...
0
votes
1
answer
83
views
Add class option in rich text editor in h2 tag
I added a class option in the rich text editor in the content tree. The requirement is to add this class in <h2> tag.
But it's adding a class in the <span> tag by default:
The ...
1
vote
2
answers
277
views
Custom popup / Sitecore client
I've requirements to create a custom popup, everytime the author saves an item. The popup has text and two buttons Proceed or Cancel.
Any guidelines on how this can be done?
1
vote
1
answer
1k
views
Rich Text Editor target for mailto links
Using Sitecore 8.2, when I add a mailto: link, it gives me a validation error that external links require a target.
However, the modal tab for mailto links doesn't contain a target field, and if I ...
0
votes
1
answer
116
views
Images don't reflect versioning in Rich Text Fields
The Sitecore version for this issue is 9.1.0 (rev. 001564).
In content editor, if I add a versioned image with only 1 version created added to a rich text field on an item, I encounter issues when I ...
1
vote
1
answer
801
views
How to add custom data attribute on Sitecore general link fields
I would like to add a custom data attribute for each link filed in Sitecore.
This custom attribute should be configurable for Content Authors.
For Example <a href="#" class = "test&...
7
votes
2
answers
476
views
"Search Tab" for "File" data type gives "The media item could not be found"
I have a structure in which we have a field defined as "File" data type. The requirement is to point this to a specific location within "Media Library". We have done this by specifying guid of the ...
0
votes
2
answers
76
views
Grey out content editor ribbon button
Is there any way to grey out the content editor archive button for all Sitecore items for every user
It should look like this
1
vote
0
answers
48
views
Null exception been thrown when interacting with generated PowerShell report executed from context menu sitecore spe
When the report is generated by the PowerShell script that is executed from the context menu within content-editor, it typically provides interaction features like sorting, export choices, and item ...
0
votes
3
answers
290
views
How to only allow the creation of a child item by given template
I have a requirement to only allow users to create child item by given template. I am thinking to create a template called TemplatedFolder with one field called AllowedTemplateIds as Treelist to ...
1
vote
1
answer
130
views
Is it possible to show only a path on content tree and media library on Content Editor?
I am planning to create a custom Content Editor view wherein Editors can only view a part of the /sitecore/content tree and /sitecore/media library tree. I am aware of how to configure it in the Core ...
2
votes
2
answers
286
views
Tokens on Child Items
I am using Sitecore in a Headless mode using the JSS. I have never tried to make any changes to the CM/functionality behind the CM, so please forgive my ignorance.
I am current researching for a way ...
0
votes
1
answer
50
views
How to add restriction to a Template Field so that it ll show/hide based on selected language version [duplicate]
I just want to show a template field to content editor when Poland language version is selected for the item. and want to not show that field if Romania language is selected.
Can someone pls suggest ...
0
votes
0
answers
65
views
Find root cause of warning on all items as "This item contains broken links in: Tracking"
We are getting the warning for "This item contains broken links in: Tracking" on all the items.
I have verified the "Tracking" field and its blank in raw values, still we are ...
0
votes
0
answers
30
views
Deleting an item refered to by other items causes the items to be "mass edited" (can't trust the edited by on versions)
This is nothing new. When an item/page is referred to by components on other pages, let's say that the data source of the components refers to the item. Then, when the item is deleted, all referencing ...
2
votes
1
answer
38
views
Sometimes publishing an item auto-selects all boxes
I can't wrap my head around this one.
We have a sitecore environment with a large number of languages. Sometimes when attempting to publish an item, we'll see every single checkbox selected (all ...
1
vote
2
answers
340
views
Can We Affect Visibility of Review History?
In the Content Editor of Sitecore 9, there's a dropdown on the Review ribbon for viewing the History of an item (who made what changes to it when, and so on). It's not currently visible to very many ...
2
votes
2
answers
897
views
How does Image Size validator work?
I wanted to set image size validation for an image field for example the image field should not accept any image more than 2 mb. For this I tried using Image Size validator available in Sitecore.
...
0
votes
1
answer
362
views
SEO plugin for Sitecore
I am looking for recommendations of SEO plugins for Sitecore 10. I am aware of Sitecore SEO Toolkit, but as far as I know it doesn't support Sitecore 8+.
Our content editors come from WordPress ...
5
votes
1
answer
203
views
How do you add a custom context menu to run an SPE script not in the scripts section?
I would like to have a custom context menu like the following:
Since this menu item does not follow the typical integration points for SPE, how would I go about making it work with a script?
1
vote
1
answer
41
views
Checklist field not decoding option labels while other field types do
On my 9.3 instance (with latest cumulative hotfix), I have 3 different field types, all of which have the same source:
Multilist
Droplink
Checklist
One of the selectable items has an HTML entity ...