R
R
run1822018-07-02 12:55:07
1C-Bitrix
run182, 2018-07-02 12:55:07

How to get the title of a custom field through the Bitrix API?

In the field settings there is an input field "Title in the list". How can I display it via the API?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kudis, 2018-07-02
@run182

Everything depends on the custom field object,
for example, you will get all data about the custom field of the section, including its name, by the CIBlockSection::GetList method, placing its name in the list of output fields. For example:

CIBlockSection::GetList($arSort, $arFilter, false, ['UF_MY_FIELD']);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question