Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [fieldtype]

For questions related to Sitecore fields types, including both native and custom types

Filter by
Sorted by
Tagged with
10 votes
1 answer
810 views

Experiencing strange behavior with Check Box Field on Sitecore 8.1

Working on a Multilingual Implementation on Sitecore Version 8.1 rev. 160302 (Update-2) with 7 languages. We are experiencing a random and strange behavior with Check-boxes (In my case). Scenario ...
Amitabh Vyas's user avatar
  • 2,554
9 votes
3 answers
4k views

Adding a telephone link (href=tel:) to the general link field type

I want to have fields that are rendered as telephone links, e.g. <a href="tel:12345678">. Can I do this by modifying the standard field type, or by creating a new field type? I have tried using ...
josedbaez's user avatar
  • 1,792
8 votes
1 answer
713 views

Multilist With Search in Rendering Parameters is empty

It looks like Multilist With Search does not work in rendering parameters. No items loaded in list even for very simple query. Is it intentional behavior or there is a way to configure it correctly? ...
Daniil's user avatar
  • 878
8 votes
1 answer
5k views

When to use Number vs Integer field type

I can't seem to find any guidance (official or otherwise) on when to use the Number field type vs the Integer field type. What are the main differences that I should be considerate of? Sitecore 8.0
peaks's user avatar
  • 537
7 votes
1 answer
5k views

List of built-in Sitecore Field Types

Sitecore provides a large number of fields out of the box, and while some of them are obvious (Checkbox, Single Line Text, ...) some fields are not obvious by name alone (eg. What is Droplist vs ...
JohnD's user avatar
  • 309
7 votes
2 answers
3k views

Why Sitecore does not allow to use special characters in Name Value List field as a key?

I would like to use special characters as a key in a Name Value List field. Any idea why Sitecore doesn't allow this? Is there any nice way to disallow this validation?
Tamás Tárnok's user avatar
7 votes
2 answers
1k views

List of general links

Umbraco has a type that allows a content editor to add a list of either external/internal links to a document type. The list of links can then be displayed in a view to a user. Is there a field type ...
Tony's user avatar
  • 105
6 votes
2 answers
1k views

Set File datasource property to restrict start folder

I am using the File field type to allow a content editor to upload a new file, or select an existing file. I wish to restrict where a file can be chosen from, so I have set the datasource of the ...
peaks's user avatar
  • 537
6 votes
2 answers
4k views

Display field value in Drop Link field

I have a requirement where I need to display "Title" field value of the items in the DropLink field instead of the item display names. How do I do it?
Shiva's user avatar
  • 379
5 votes
2 answers
2k views

Sitecore populating date field with yesterday's date via $date token

I have a date field in one of my templates who's default value is $date. When I create an item using that template, the raw value is 20190522Z, but when I view it not raw I see it as yesterday's date ...
Levi Wallach's user avatar
  • 1,085
5 votes
3 answers
1k views

Customize font style for multi-line text field

Is there a way to customise the font-style used by a multi-line text field in the Content Editor interface? Note - I don't care about styling for the front-end as this is handled by our regular CSS. ...
Matthew Dresser's user avatar
5 votes
1 answer
1k views

When is item.Fields.ReadAll() required to be run?

When iterating an item's fields', sometimes the API fails to see a field unless item.Fields.ReadAll() is executed prior to checking for field existence. I've ran into this multiple times in all my ...
jrap's user avatar
  • 4,951
5 votes
1 answer
730 views

TDS Not Deploying Template Changes

We are having difficulties getting an update to a Template to deploy properly. Take the example structure below: - Template Item - - Section Item - - - Field Item 1 - - - Field Item 2 The items ...
jrap's user avatar
  • 4,951
5 votes
2 answers
883 views

What is the proper syntax for a 'Grouped Droplink' field?

What is the proper syntax for a 'Grouped Droplink' field? I can't seem to find proper documentation on this anywhere. Can I use this to group results from 2 sections of the content tree?
Rondel's user avatar
  • 493
5 votes
1 answer
232 views

How to debug File Drop Area Information during Uploading File?

I added a File Drop Area field (let's call it FDA) into a content item (let's call it sitecore/content/Home). In Dialog "Upload File", after I uploaded a file and click "Upload", where can I find the ...
xdrnc's user avatar
  • 311
4 votes
1 answer
2k views

How to change Sitecore field value based on another field(s)

Is there a way to dynamically change the value of a field in Sitecore based on other fields' values, something like computed fields in RDBMS? For example, let's say we have a template that has the ...
AJ -'s user avatar
  • 219
4 votes
2 answers
2k views

Name Value Lookup List where Name is from data source

Is it possible in Sitecore 7.5 to bind all the names in a Name Value Lookup to a datasource? For example the name will be represented as a dropdown list.
Lennox M's user avatar
4 votes
1 answer
800 views

Manually change the updated date of an item?

I've created a processor that archives items that haven't been updated in 2 years, and I'm trying to test this by altering a date of an item, but every time I change it and save, it reverts back. I'm ...
Levi Wallach's user avatar
  • 1,085
4 votes
3 answers
824 views

Multilist with search display results without Template name

I used the multilist with search and it works fine, but the results return the items and (Template name), and I want to return items name only without template name. is there any way to do that? my ...
Raed Abu Garbeiah's user avatar
4 votes
1 answer
178 views

Different Field source for different Language

Is it possible to assign different field source for the different language? For example, I have a sample template in with samplefield. samplefield has a field source as /sitecore/content/Home-en ...
Siva Kumar's user avatar
4 votes
1 answer
1k views

Attachment Blob Not Uploading File

I have a field on a template using the "Attachment" type. There's only 1 attachment field on the template and it's named "Blob" (I read that these were requirements of that field type). The upload ...
BFK's user avatar
  • 165
4 votes
2 answers
744 views

Granting a role access to a field

I have a component in my sitecore instance called an Article Download component. One of the fields for this component is called Download Item and it is the type link (not General Link). My authors are ...
Michael's user avatar
  • 520
3 votes
4 answers
2k views

How to find templates that use some specific field type?

I need to find all templates that use a defined field type. What is the best way to do it ?
Arbejdsglæde's user avatar
3 votes
1 answer
2k views

Changing the display name of field in the template does not reflect the name at item level

I had created a template in Sitecore 9.0.2 named as XYZ, and had a field in that named as "Test". Now the client wants to change the name of the field "Test" to "Test1". I changed the display name ...
Shomila's user avatar
  • 45
3 votes
3 answers
747 views

Datetime Field in multilingual environment

We have multilingual site, which has content editors from around the world. We have a maintenance banner on home page which display "Site will be down from dd:mm:yyyy time to this dd:mm:yyyy". This ...
Dheeraj Palagiri's user avatar
3 votes
2 answers
148 views

Items added to QueryableTreelist, not updated in the links database

I am using a Custom Field Type called QueryableTreelist which is extended from built-in Treelist field type. When an item is added to this queryabletreelist field, the linked item do not show the link ...
Somnath Dutta's user avatar
3 votes
1 answer
579 views

Creating LinkField from XML

Sitecoore 9: I need to create a LinkField from a general link's xml E.g. <link text="Text" linktype="internal/external" url="url" anchor="anchor" title="title" class="class" querystring="...
Steve Ward's user avatar
3 votes
1 answer
265 views

Multilist with Search fields with duplicate items

We have one problem in Sitecore. Whenever we use the "Multilist with Search" fields, the same item is displayed multiple times with different versions. And the content editor is able to select same ...
Akaa's user avatar
  • 183
3 votes
2 answers
776 views

Querying DropLink field from Sitecore to SOLR

In my template, I have a field called Category which is a type of DropLink and not MultiList. When I tried to find it in SOLR, I got this field as below. "category_sm":["{951063A6-0BBA-484F-8CAB-...
Arvind Gehlot's user avatar
3 votes
1 answer
810 views

Cascading Droplist field in Sitecore

I have item in sitecore which contains a field country and region. Now when I select the country I need to load the related region like cascading dropdown. Is there any possiblity of creating custom ...
keerthi's user avatar
  • 31
3 votes
1 answer
321 views

Reading values from Password field type

I am trying to use the password field type on some settings items to store data instead of using configs, however when reading its values in code (for example item["passwordfield"]) we are ...
Cristi Vulturar's user avatar
3 votes
0 answers
779 views

Image and link fields rendering as raw values

I'm using Sitecore 8.2 and attempting to render Image and General Link fields as recommended in this post: @model Company.Feature.Foo.Models.FooBarViewModel ... @Html.Sitecore().Field("{123e4567-e89b-...
Charlie Brooking's user avatar
3 votes
1 answer
130 views

FieldType of custom WFFM field disappearing

I'm working on a custom field type for WFFM forms that records a cookie. Our save action uses the ControlResult's FieldType property to know when it's a field of this type and do some extra logic on ...
Michael Smith's user avatar
2 votes
2 answers
3k views

Video url with Image type Field

I have a carousel with Images and videos. The Image added appears but not videos. I am trying to assign a Video(mp4)media type using a Image Field type. When I am try to click the Browse and select a ...
Amitabh's user avatar
  • 1,066
2 votes
1 answer
6k views

Get MultilistField selected items

I am working on a view rendering and trying to get a list of selected items from a multilist field. I don't know if it matters, but the list field I am trying to get the selected items from is a ...
Michael's user avatar
  • 520
2 votes
1 answer
38 views

Duplicate selected IDs appearing in raw value of checklist field after deleting an item and linking to other (already selected) item

I ran into an issue when cleaning up two pairs of items like so: Parent item Reference Item 1 Similar Reference Item 1 [delete and relink to Reference Item 1] Reference Item 2 Similar Reference Item ...
Marcel Gruber's user avatar
2 votes
1 answer
37 views

Enable Custom Property field for SItecore General Link Field

While inserting internal link from Sitecore General link field I am seeing Custom Property but that is disabled and not allowing to use it. How to use that property in Sitecore 10.
Rahul's user avatar
  • 21
2 votes
1 answer
2k views

What is the allowed Max Length for a Rich Text Field on Sitecore 7.2?

I was asked to implement a new page, Privacy Policy page, I decided to use Sitecore rather than create a whole new outside application. Thus, I picked a similar page that content editors were using ...
Paul T. Rykiel's user avatar
2 votes
0 answers
323 views

What possible reasons could there be for a checkbox on an item becoming unchecked in the web DB?

We have a specific component that includes a checkbox. There are multiple items of this component. The checkbox on these items becomes sporadically unchecked in the web DB, without the items having ...
James Walford's user avatar
2 votes
0 answers
232 views

Custom DropList in WFFM

We created a custom drop list in WFFM to hold values populated from DB. The problem is the value is not getting selected in the drop list. Example: If the user's country is UK, the drop list shows ...
PVM's user avatar
  • 963
2 votes
0 answers
169 views

WFFM Checkbox value is always false

We have a WFFM form on Sitecore 8.1 rev 160523, with a custom save action where we want to store the form data as a Sitecore item. When we try to retrieve the value of a checkbox, we always get ...
Maarten Konings's user avatar
1 vote
1 answer
3k views

Fieldsource query for droptree field

Is it possible to use query for Droptree field in Sitecore 8.1? In a multisite solution, I would like to point Droptree field source to an item in that particular site. Is this possible?
Vijaya Akkenapally's user avatar
1 vote
3 answers
326 views

How to use Sitecore Multiroot Treelist

Using Sitecore 10.3 I would like to try the Multiroot Treelist field. The requirement is to have an option for the author to choose from multiple locations, in the treelist field. Could anyone please ...
sukesh's user avatar
  • 3,162
1 vote
2 answers
91 views

How to get Sitecore Updated Field only?

I want to send only updated fields for Translation. How can I know which fields have been updated on an item?
Gautam Aneja's user avatar
1 vote
2 answers
874 views

How to sort items by a datetime field

Article Publish Date is a field of type Datetime List<Item> articles = GetArticles(); articles = articles.OrderByDescending(x => x.Fields[Constants.Templates.Article.Fields....
sukesh's user avatar
  • 3,162
1 vote
1 answer
980 views

What are "Taglist" and "Tag Treelist" field types in Sitecore 9?

I found "Taglist" and "Tag Treelist" in the list of available field types in my current instance of Sitecore 9: but i can't find any sort of documentation on them on the official Sitecore website, ...
Mie ElMansy's user avatar
1 vote
2 answers
238 views

General Link with Search field is adding language code along with ID in the Item Link

We are using the General Link with Search field to filter and select the items in Sitecore 10.1. Now when I click Search for a link on the field and then search for the items of a particular template, ...
Sumit Bhatia's user avatar
  • 5,095
1 vote
2 answers
298 views

Multireference field types in C#

I know that Treelist and Checklist fields are of Type MultilistField in C#, but I need to know the C# types for the following field types: TreelistEx Multilist MultilistWithSearch
squadwuschel's user avatar
  • 1,165
1 vote
1 answer
39 views

How do I display the RTE/ Word Content in Asp.net webforms?

We have bee using Sitecore 8.1 and in 8.1 we use the Field Types RTE and Word more . Due to some reason i had to use Asp.net Webforms not MVC. Can any one please help me how do i dispay the content of ...
user3621's user avatar
  • 414
1 vote
1 answer
1k views

How to remove the blank field for Sitecore Droplink and Droplist

In Sitecore 9.0, when I create a Droplink or Droplist Sitecore generates a "blank" selection. For example I have a Droplink from Monday to Sunday, the first option will be a blank selection. How can ...
Ercan Polat's user avatar