Answer the question
In order to leave comments, you need to log in
How to make your own ID when adding an element to Bitrix?
I need to add a section and add my own ID.
I add like this:
$bs = new CIBlockSection;
$arFields = Array(
"ID" => $id,
"ACTIVE" => 'Y',
"IBLOCK_ID" => 1,
"NAME" => $name,
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question