Where is TreeNode.DocumentPriority set and how is it used?

Max De Los Reyes asked on February 11, 2026 19:43

Working in K12. Sorry if I'm missing documentation, but I haven't been able to find anything related to this besides the property in the API which is very nondescript.

I'm mostly wondering if there's anything prebuilt into the Kentico admin interface that sets this property and if Kentico itself uses the property for anything. I've queried our database and can see that some documents are set with higher priority, but cannot distinguish where that was set.

Recent Answers


Juraj Ondrus answered on February 12, 2026 07:00

This property is being used to set the wild card URL priority in given language - this is typically set when using custom URL path in page's Properties -> URLs -> Use custom URL path and when the Path or Pattern is set. It helps the system to determine which wildcard URL is the best match.
This means that it was not intended to be used to set your priority. I would recommend adding a custom system field for this purpose.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.