Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
9 votes
Accepted

Issue with Custom Field Type not rendering in Shell

After copying /sitecore/system/Field types/List Types/Multilist from List Type to the /sitecore/system/Field types/User Defined and renaming, I went over to Master, updated the template to the newly ...
vandsh's user avatar
  • 1,651
8 votes
Accepted

Multilist Field where users can add new values

Yes it will. There are no field types that ship out of the box, that gives you that functionality. If you are going to explore making your own customisation for this, I would suggest the Multilist ...
Mark Cassidy's user avatar
  • 25.3k
7 votes
Accepted

Sitecore Forms Custom field gives 400 bad request when trying to add to a form via the forms interface

It turns out that for the Form editor to work, all field type templates must have a standard values. By decompiling the DLL that contains the action for the API controller for the SPEAK interface of ...
Yiangos's user avatar
  • 101
6 votes

Item validator access already stored data instead of newly inputed data

So one thing to note - CriticalError - the user is warned before saving, but the data is still saved. FatalError will stop the item from being saved if validation fails. But... What you are trying ...
Richard Seal's user avatar
  • 20.5k
4 votes
Accepted

WFFM - Send Email With Attachment not working in 8.1 160523

I think this is now included out of the box with WFFM, no need for custom save action: Navigate to /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message ...
Ahmed Okour's user avatar
  • 2,124
4 votes
Accepted

How to find templates that use some specific field type?

As field types are not linked with item's ID you cannot use Link Database for that. PowerShell You could iterate through all fields in PowerShell and find those with particular field type SQL ...
Alan Płócieniak's user avatar
4 votes
Accepted

How to convert Facet Data to Json format

I have faced the same issue during the implementation of Display custom facet on the Experience profile tab. @x3mxray helped me as well to implement the same. As per the article http://zhenyuan....
Himmat Singh Dulawat's user avatar
4 votes
Accepted

Sitecore Custom Predicate Rule not working

The Experience Profile and List Manager interfaces rely on personal data being available in the xDB index. As the FirstName facet is marked as [PIISensitive], you will not be able to use it by default....
Raman Gupta's user avatar
  • 2,559
4 votes

Custom field type has empty string for FieldTypeKey in RenderPipelineArgs; how to populate?

Quick answer You can populate it in the field "Type" of your template's field item. Still confusing? Here is an image to help you The image above shows how the type is set in the default ...
André Andrade's user avatar
4 votes

How to create Solr Index custom field mapping with schema configuration?

You can perform below steps: Create Cores in Solr Go to the SOLR folder (like D:\SOLR\solr-7.7.2\solr-7.7.2) Go to solr folder under server folder (D:\SOLR\solr-7.7.2\solr-7.7.2\server\solr) Copy &...
Swati Gupta's user avatar
  • 3,135
3 votes
Accepted

setting tool tip for custom button for rich text editor

Just set a display name of your button to whatever you want to be a tooltip:
Marek Musielak's user avatar
  • 23.8k
3 votes

How to convert Facet Data to Json format

Your issue is that each facet has an XObject object on it that contains a lot of circular references. The XObject will never serialize, you just need to tell NewtonSoft to ignore it when serializing. ...
Chris Auer's user avatar
  • 13.1k
3 votes
Accepted

Make a field(RTE) disable(readonly) and enable(editable) on toggle of checkbox in Content Editor

You could perhaps do this by injecting some custom JavaScript into content editor like so with a pipeline: Pipeline var page = HttpContext.Current.Handler as Page;   foreach (string script in ...
Adam Seabridge's user avatar
3 votes

Sxa tokens not taken into account in code query

Here's my solution: I am using 3.7.1 version of the Sitecore.XA.Foundation.TokenResolution.dll so there is no service for token resolution but a static class. Then for getting current item it ...
Joey Novais's user avatar
3 votes
Accepted

Sxa tokens not taken into account in code query

Inject ITokenResolver and call Resolve() method. ITokenResolver tokenResolver = ServiceLocator.ServiceProvider.GetService<ITokenResolver>() string query = tokenResolver.Resolve(MY_QUERY, ...
Dawid Rutkowski's user avatar
3 votes

How to create a multiple column field with text boxes

I can't give you a complete solution but I can guide you a bit to along the right path. You'll need a custom field type for this. Credit here goes to jammykam Who wrote a nice blog article about ...
Koen Heye's user avatar
  • 1,626
3 votes

How to create a multiple column field with text boxes

I think you are talking about custom field type. Looks like you are talking about something that cannot be done with standard field types thus you will have to create your own custom field type for ...
Alan Płócieniak's user avatar
3 votes

Searching the date array

I found the answer on StackOverflow: https://stackoverflow.com/questions/33301106/query-lucene-index-against-ienumerable-field In short, instead of using IEnumerable<DateTime> Checkins you ...
3 votes

How to find templates that use some specific field type?

I used a variation of Balaji's answer to search for data templates that contain a particular field type (in this case "link"), rather than for content with the field type. This also pops up the ...
Mark's user avatar
  • 203
3 votes

Custom field with (sheer) dialog. How to get data from other fields in the item

"Magic" ;-) Declare a public property; public string ItemID { get; set;}. Sitecore will populate this property by Reflection. You can then do normal .GetItem() operations. Caveat If multiple fields ...
Mark Cassidy's user avatar
  • 25.3k
3 votes

Multilist Field where users can add new values

I've used the Inline Item List field in the past: https://marketplace.sitecore.net/en/Modules/Inline_Item_List_Field.aspx. It provides extra buttons to create items from the Multilist field so ...
Kevin Mazzoni's user avatar
3 votes

Custom segmentation based on custom user fields

Segmentation rules ONLY work against xDB contacts. If you have any properties in the user profile (aka asp.net members profile properties), then this will never work. You need to push those properties ...
Chris Auer's user avatar
  • 13.1k
3 votes

Items added to QueryableTreelist, not updated in the links database

You need to register your custom field in ~/App_Config/FieldTypes.config. Once done, rebuild the Link Database. From this point on, the field references will get updated automatically when the item ...
Mark Cassidy's user avatar
  • 25.3k
3 votes
Accepted

Glass Mapper mapping exception for a LinkList field after upgrade to Sitecore 10.2

In Sitecore 8.2, there was a custom LinkList DataHandler that was registered in GlassMapperScCustom.cs file. dependencyResolver.DataMapperFactory.Insert(0, () => new LinkListDataHandler()); We ...
Karan Kumar's user avatar
2 votes
Accepted

Custom field with (sheer) dialog. How to get data from other fields in the item

Using the "Magic" Mark mentioned it works. However, to get the ItemId and the Source into the dialog, use the last answer as described in this article: https://stackoverflow.com/questions/8148279/how-...
Erwin Rijss's user avatar
2 votes
Accepted

Custom Sitecore field type with auto complete and focus out event

I think the most flexible solution is to use the iframe field type, because it allows you to easily implement your own frontend and backend implementation. In the past I did something like this, but ...
Tamás Tárnok's user avatar
2 votes

Is it possible to edit/customize columns that appear for User Manager?

I don't believe it's possible to customize this dialog without changing the xml and classes associated with it. You may however like using Sitecore PowerShell Extensions. Get-User -Filter "sitecore\*...
Michael West's user avatar
  • 18.2k
2 votes
Accepted

Item validator access already stored data instead of newly inputed data

My answer is incorrect. See Richard's answer below. Answer is "use fatal validation result instead of critical". Or use item:saving event like described in my answer. You can use workflow and not ...
Marek Musielak's user avatar
  • 23.8k
2 votes
Accepted

WFFM - File size and File type validation not working in 8.1 160523

On https://ggullentops.blogspot.be/2016/05/sitecore-wffm-mvc-fileuploadfield.html I have a solution for a custom field that can check filesize and type. Without copying the whole code, it comes down ...
Gatogordo's user avatar
  • 20.1k
2 votes
Accepted

Customize Sitecore Image Field Property Dialog

You need to make sure that you have created your control and is present in the website/sitecore/shell or website/sitecore modules/. Moreover, the namespace used in the code should match the one in ...
Hishaam Namooya's user avatar

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