Answer the question
In order to leave comments, you need to log in
How to make a case selection field?
I'm trying to make a form on which there is a selection field - in this selection field there is a list of all registers.
There is no data type like "ReferenceReference", so I put "ValueList" in the field.
There is a function:
&НаСервере
Функция ПолучитьСписокРегистров()
СписокРегистров = Новый СписокЗначений;
НаборРегистров = Метаданные.регистрыСведений;
Для каждого ЗаписьНабораРегистров из НаборРегистров Цикл
СписокРегистров.Добавить(ЗаписьНабораРегистров);
КонецЦикла;
Возврат СписокРегистров;
КонецФункции
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question