A
A
alexander_chn2019-11-07 13:42:28
API
alexander_chn, 2019-11-07 13:42:28

Is it possible to update only one element parameter via the 1C-Bitrix API?

Good day to all! The question is, is it possible to update only one parameter of an element using the CIBlockElement::Update function and at the same time keep the previous parameters and not overwrite them? Or is there another method? I only need to update the sort parameter, everything else needs to be saved. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zhyeba, 2019-11-07
@zhyeba

CIBlockElement::SetPropertyValueCode()
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...

G
Georgy Baruchyan, 2019-11-07
@Snatch87

Or SetPropertyValuesEx
if multiple properties are required

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question