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 ...
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 ...
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 ...
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 ...
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 ...
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
...
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....
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 ...
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:
3
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....
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. ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
Community wiki
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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\*...
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 ...
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 ...
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 ...
2
votes
WFFM custom toggle switch
You're rendering the HTML markup directly in your cshtml file, but you need to use the Html Helpers. I suggest you take a look at the default Checkbox field markup located in /Website/Views/Form/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
custom-field × 47sitecore-forms × 8
fieldtype × 6
wffm × 5
sitecore-client × 3
sitecore-api × 3
content-editor × 3
indexing × 3
validation × 3
sxa × 2
solr × 2
content-search × 2
experience-editor × 2
sitecore-query × 2
list-manager × 2
renderfield × 2
xdb × 1
experience-analytics × 1
presentation × 1
glass-mapper × 1
upgrade × 1
experience-profile × 1
richtext-editor × 1
session-state × 1
user-management × 1