Can I get uni selector to order by a localized field?

Tom Troughton asked on July 8, 2016 11:44

I have a custom table with a text field that uses a LocalizableTextBox.

I'm using a uni selector form control to provide a dropdown list of data in this custom table, and I want to order this list by the translation for the localized field. I've tried using a localization macro in the uni selector's "order by" field (e.g. {$FieldName$}) but this seems to still order by the resource string key rather than the translation.

Anyone have any ideas?

Recent Answers


Anton Grekhovodov answered on July 8, 2016 13:02

Hi Nat,

In Order By field you should insert names of columns from your custom table which you want to use to sort the items.

0 votesVote for this answer Mark as a Correct answer

Tom Troughton answered on July 8, 2016 13:20

Thanks Anton. I tried that but, as I said, the ordering then is by the resource key name associated with the field and not the translated text.

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on July 11, 2016 09:10

The short answer is no. However, if all of your resource strings are listed in the Localization application (they are stored in the database) you could join that table with your resource strings to order it as you wish for example in the dropdown list.

0 votesVote for this answer Mark as a Correct answer

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