F
F
FlexStat2019-01-28 14:52:42
1C-Bitrix
FlexStat, 2019-01-28 14:52:42

How to make it so that when filling out additional. section properties, were the properties of the same name filled in subsections and their elements?

If there is such an opportunity in bitrix at all?
If not, how can this issue be resolved differently.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2019-01-28
@jasper-blondin

Use the OnAfterIBlockSectionUpdate event handler.
Get the value of the custom field, get the list of child sections, and set the value you need for each custom field of the child section. Do the same with child elements.
Details: https://dev.1c-bitrix.ru/api_help/iblock/events/on...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question