You cannot specify a key when adding a new item to a collection in which all items do not have keys. Either all items in a collection have keys or do not have keys. To determine if a collection requires keys, use GetKey(1) and the EMPTY(В ) function as follows:
| В | Copy Code |
|---|---|
? EMPTY(Collection.GetKey(1)) | |
js editor
Web development