Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tree-list]

For questions about Sitecore's tree list field type, including use, source setting, customization and extension

0
votes
1answer
33 views

Multi-root treelist with queries

I'm trying to use the Multi-root treelist that Kam Figy made and that Zachary Kniebel extended. I used this guide to add the Field-type to the Core database. All is well, until I put query: anywhere ...
1
vote
0answers
31 views

Multitennant Datasource locations for treelist

For input fields which support the query syntax its no problem like Droplist Grouped Droplist DropLink Grouped Droplink Checklist Multilist Droptree here I am using the following query query:./...
1
vote
1answer
29 views

Multilist pick subcategory based on the category selection

I have a Categories Item and Each category has Sub categories - Category 1 - Sub Category 1 - Sub Category 1 - Sub Category 1 - Category 2 - Sub Category 2 - Sub ...
0
votes
0answers
55 views

How to replace an item with another item by ID in Treelist field using Powershell?

I want to replace an item with another item in a Treelist. Basically, the items I want to replace are broken links. Suppose, There are two items A and B. A is used in a Treelist field, so I want to ...
0
votes
1answer
116 views

Fill TagTreelist field programmatically (SXA) [closed]

I'm having some troubles with filling a TagTreelist field programmatically. I simply tried the same as for treelist fields as i know it works: string tagID = Search.GetYearTagItem(year, "/sitecore/...
0
votes
1answer
26 views

DynamicPlaceholder get Parameter Templates Treelistvalues

I've created a Parameters Template with a Treelist Field and a Rendering which uses this Template. That works so far I can select multiple values. But Now I am using this rendering in a dynamic ...
0
votes
1answer
153 views

Computed Index Field for TreeList in SOLR [duplicate]

as treelist values is being indexed in solr as IDs so I needed to create a computed index field for it to read the names, as follows namespace TAMM.SXA.Feature.ServiceDetails.ComputedIndexFields { ...
0
votes
1answer
68 views

How to add new items to a Treelist field in the Datasource item from SXA edit mode like Link List

I need to add new items to my Treelist field in the datasource item of the component from edit mode like Linklist. Anyway, Linklist contains child items but is there any way we can handle similar ...
1
vote
1answer
598 views

Sitecore Read a treelist field in view rendering

I have a template with field of type treelist which holds images, i want to read this field in my view rendering (.cshtml file) and loop over the images and display each one in an tag. How can i do ...
0
votes
0answers
35 views

Sitecore Control to select inherited field?

Using Sitecore 9.0.1, I need to select a field but this field may be inherited from a base template. ie. I wont the content author to be able to select a field name using a suitable control and this ...
4
votes
2answers
2k views

Retrieving multiple items in treelist query

How can I get a query-based treelist to return a list of items relative to the current item, that fits a template, instead of only the first result Search structure: -Parent Item --Segments ---Item ...
2
votes
1answer
461 views

Showing selected folder from the content node in tree-list is not working

Showing selected folder from the content node in tree-list is not working. We have used the below query but looks like only parent node is visible not the child nodes. DataSource=/sitecore/content/...
5
votes
2answers
1k views

How do I define multiple sources in the Source of a Treelist field?

I am trying to add multiple root folders to the source field of a treelist template field. For example: Datasource=/sitecore/media library/ | /sitecore/content/ I have done this with sitecore query, ...
13
votes
2answers
709 views

How to filter items by language in Treelist field

On a multilingual site, how can I make a treelist field to only show items of selected language in the editor -so editors can't select items that do not have versions or shouldn't exist on their site. ...