G
G
Good Samaritan2017-09-12 12:03:40
1C-Bitrix
Good Samaritan, 2017-09-12 12:03:40

CIBlockELement::Add, how to make it so that when adding an element, for example, the id property would be unique and auto-increment?

I add comments via CIBlockELement::Add, I want each comment to have a unique id. Is it possible to create such a field in the infoblock property so that it is auto-incrementing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2017-09-12
@iFunction

When an element is created, it is assigned a unique ID, is this ID not enough?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question