Maximum Results in Sitecore Droplink?

In Sitecore 6, one of my templates contains a "Droplink" field associated with the results of a particular sitecore request. This query currently returns approximately 200 items.

When I look at an element that implements this template in the content editor, I can only see the first 50 elements in the drop-down list of fields.

How to display all items returned from this query in the editor drop-down list?

+4
source share
1 answer

There is a parameter in the web.config file that controls the maximum number of elements that can be returned by the request:

<setting name="Query.MaxItems" value="100" /> 

The default value is 100, so I'm not quite sure why your query returns only 50, maybe someone changed the setting?

Also, be careful when hitting performance when returning more than 100 items. Depending on your equipment and the overall Sitecore architecture, this may not be so noticeable, but you just have to be careful.

+6
source

Source: https://habr.com/ru/post/1276949/


All Articles