Answer the question
In order to leave comments, you need to log in
How to update only a specific value of a multiple property?
Hello. At once I will tell, to dock read, but logic did not understand.
There is an array of values of a multiple property of type string. I need to change the description of one of them. I do it like this:
$PROPERTY_VALUE = array(
$propNumber => array("VALUE"=>$articleId,"DESCRIPTION"=>""),
);
CIBlockElement::SetPropertyValuesEx($arFields['ID'], 19, array($propNameKey => $PROPERTY_VALUE));
Answer the question
In order to leave comments, you need to log in
Faced with it. Solutions other than how to read the previous value first, and then overwrite it by adding it to the list, I did not find it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question