S
S
Sergey2019-05-06 14:04:57
1C-Bitrix
Sergey, 2019-05-06 14:04:57

How to delete the value of a file type property in Bitrix?

How to delete the value of a file type property in Bitrix?
I tried that, but it doesn't work. What's wrong?

CIBlockElement::SetPropertyValues($arFields["ID"], $arFields["IBLOCK_ID"], array( $arFields['PROPERTY_PHOTO_VALUE'][0] => array('del' => 'Y')), "PHOTO");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ogureccc, 2019-05-06
@Ogureccc

Maybe here
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
Just on your question there is info
"If a property of the file type changes, then you need to form an array ..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question