D
D
Dickie Dick2021-10-13 15:23:52
1C-Bitrix
Dickie Dick, 2021-10-13 15:23:52

Is it possible to find out the ID of the element of the highload-block, to which the property of the "Reference" type of the element of the infoblock refers?

Good afternoon!

There is a "Catalog" infoblock, it has a "Color" property of the "Reference" type, the property refers to the highload-block "Colors". There was such a situation that duplicates of elements with the same XML_ID were formed in this highload block. To understand which elements of the catalog refer to which of the duplicates, I tried to bypass them in a loop and use the CIBlockElement::GetList() method to get the value of the "Color" property. But the method does not return the value ID, it returns only XML_ID, which is the same for duplicates and therefore does not allow to distinguish one

duplicate
from another
:
> 324162986

Is there any way to find out which particular element of the highload block is referenced in a property of type "Directory"?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question