Questions tagged [fieldtype]

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

0
votes
1answer
22 views

Retrieving item from Droplink Rendering Parameter

How can I get the referenced item from a droplink field in rendering parameters. What I tried: var model = new DFFVideoModel(); LookupField VideoItem = (LookupField)RenderingContext.Current....
1
vote
0answers
25 views

Problem while selecting too many items in multilist with search

I have a multilist with search field and on the left hand side there are 1100 items which we can select. But when I select more than 130-140 items, the left hand side field gets emptied and I am not ...
4
votes
2answers
48 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 ...
1
vote
0answers
55 views

MultiList with Search not showing items for non-admins

There is a related item that suggests providing read access to /sitecore/system/Settings/Buckets/Item Buckets Settings, which I've done. That at least removes the loading icon from the left shuttle ...
1
vote
1answer
71 views

Default value “choose…” for droplist

This is what I'm looking for: I have a droplist item that is looking in a particular folder for values to include. However, I would like to specify a default of "Choose..." Is it possible to do ...
0
votes
0answers
79 views

Can we dynamically populate sitecore multilist field using sitecore queries?

Can we dynamically manage the left and right-hand side of a Sitecore multilist field using queries? I want top 6 articles (sort based on published date desc) always pop up dynamically on the multilist ...
0
votes
3answers
257 views

How do you programmatically update a date field?

I try to set field in template of type "Date" programmatically, string postedValue = GetValue(formSubmitContext.Fields.FirstOrDefault(f => f.Name.Equals(fieldName))); DateField dateField = ...
0
votes
0answers
57 views

xpath query as souce for image or file field

I continue to get a Value Cannot Be Null error when clicking on Open File or Browse for a File/Image field I'm trying to point to a specific folder. Here's the problem. The folder is in a part of ...
3
votes
1answer
390 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 ...
5
votes
1answer
294 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 ...
1
vote
1answer
59 views

Translate ID into a displayname

I'm trying to index the Sitecore item fields. Each field has a type and I saw that some field types contain an item ID(or Media item) and other the display name. For example(data from the REST API) "...
2
votes
1answer
427 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 ...
4
votes
1answer
89 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 ...
1
vote
1answer
594 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?
4
votes
2answers
746 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.
3
votes
1answer
99 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 ...
3
votes
0answers
295 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-...
3
votes
1answer
69 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 ...
0
votes
1answer
145 views

Sitecore 7.2 using droplink

I will start out by saying I am a bit of a noob when it comes to C# and Sitecore, but I am getting better. I am trying to update our code to use a droplink control for an event item (we'll call it ...
1
vote
1answer
242 views

Name Value List with Value field as Rich Text

Is it possible to have the Value field of the NAME-VALUE list as the RichText? Our Requirement is to provide the HTML content in the Value field and render in the webpage as HTML.
4
votes
2answers
232 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 ...
1
vote
1answer
257 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, ...
0
votes
2answers
283 views

WFFM Checkbox list with textbox

I have a WFFM form with a checkbox list field. What is your favorite ice cream? Option-1(Checkbox) Option-2(Checkbox) Option-3(Checkbox) I have to include another option to the fields which is a ...
0
votes
2answers
266 views

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

I am trying to disable(readonly) and enable a RTE field on toggle of a checkbox in the Content Editor. The John west blogs tells to alter the "renderContentEditor" Pipeline which I guess will not be ...
1
vote
1answer
201 views

Which SXA component supports pulling data from a multilist field [closed]

Is there an SXA component that supports a rendering variant that can pull data from a multilist field? In Sitecore SXA 1.4, I want to allow editors to select from a multilist of simple items (text ...
3
votes
1answer
248 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="...
2
votes
1answer
548 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 ...
2
votes
0answers
184 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 ...
2
votes
0answers
197 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 ...
5
votes
1answer
109 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 ...
5
votes
1answer
433 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 ...
1
vote
1answer
321 views

CMS content editor radio button field [closed]

Is there any way we can use Radio button in CMS content editor. Requirement is to use Radio button in sitecore CMS content editor and based on that show hide some sections of an template?
2
votes
2answers
1k 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 ...
10
votes
1answer
407 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 ...
6
votes
1answer
2k 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
5
votes
2answers
527 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. ...
6
votes
2answers
690 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 ...
0
votes
0answers
267 views

Insert Media link not working

I have an item that has two language versions - en & jp For a General Link field in this item, I have used insert media link for both en & jp, & pointed to a pdf file in the media library....
2
votes
0answers
90 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 ...
4
votes
2answers
508 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?
3
votes
1answer
601 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 ...
1
vote
1answer
355 views

Internal Link 'Target' dropdown options not populating [duplicate]

We are using sc8.0u5. When the Insert Link of a General Link field is clicked, there is a Select Target dropdown. But there are no options being populated in it. This works fine in the DEV system but ...
0
votes
1answer
50 views

Partial LinkField for Sitecore 8.1 rev. 160302

My issue is that I need to be able to allow a user to use the General Link FieldType and when the field is rendered I only want part of the text to be linkable. Example: Link Description: This is my ...
3
votes
1answer
482 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 ...
1
vote
3answers
1k 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 ?
2
votes
3answers
365 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 ...
6
votes
2answers
839 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 ...
8
votes
1answer
509 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? ...
6
votes
2answers
3k 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?
6
votes
2answers
2k 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 ...