M
M
mills2021-03-01 10:31:49
1C-Bitrix
mills, 2021-03-01 10:31:49

How to display the name of the attached element as in the admin panel?

Hello!
Such a question, how to display the name of the element as it is written in the admin panel?
603c9816d50e3705018464.png
Here in the screenshot I indicated where the name is displayed, but I need it to be fully displayed as in the admin panel, is this real? Using CIBlockElement::GetByID, it takes the name of the element, but there is no "size" prefix, but it is necessary.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-03-02
@kikher

Size is a property of the element.
to CIBlockElement::GetByID add property lookup GetProperty

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question