S
S
SpeakeazyYT12019-09-26 19:57:23
1C-Bitrix
SpeakeazyYT1, 2019-09-26 19:57:23

How to get all values ​​from the "String" type property in the CIBlockElement::GetList (1C-Bitrix) selection?

Hello. Need help with bitrix.
There is the following code for displaying all products from the infoblock with a selection of certain fields, including user ones with IDs - 262 and 256.
NAs0ShOaN2k.jpg
PROPERTY_256 is a multiple field of the "String" type.
In the admin panel it looks like this
bkP27iSXhdQ.jpg
. In the selection, I want to receive an array of this field with values, respectively, for example, - feed, product, PAX*****, 1.8
But in the selection, in fact, I get the following picture
tMhQ5TKgLJA.jpg
, that is, under the characteristic field of the multiple with the "String" type, there is only 1 value out of 4,
and it is necessary that an array be displayed these values ​​in this field
How can this be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2019-09-26
@SpeakeazyYT1

Just answered another question - quote:

Apparently, you have IB 1.0. Go to the infoblock settings and look at the "Property values ​​are stored" value. Most likely there is "in the general table (by default)" and below there is a link "change the storage location of properties" - click it.

Q
Qraxin, 2021-01-31
@Qraxin

In my case, in addition to using IB version 1, I did not add the element ID to the select array, which is mandatory in this case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question