Multi-instantiated Fields and persistance Id

1
0
-1

Hi,

I have to questions:

1.) when I create multiple Data set, it automatically creates a persistence id. What is this for, how must it be filled?
2.) How can I iterate in Javascript to all multi-instantiated fields?

Greetings,
Björn

1 answer

1
0
-1

Hello,

1) The persistenceId is a generic field for any business object. It is unique per business object and automatically generated per the engine. You need to use it for any operation on a business object instance that is not a creation. 2) Not sure about this one

Cheers,

Comments

Submitted by meier_1383937 on Fri, 01/11/2019 - 08:08

Hello,

so I can discard it, if I have any other source of identification and also does not plan to update, modify or delete an item in further tasks? Nice to know.

2.) This one was fairly easy to figure, it is just an arry you can traverse like any other array and it is located in your data structure within $data

Submitted by pierrick.voulet on Fri, 01/11/2019 - 13:41

Yep, you can disregard it, just keep in mind that the Engine uses it as technical id (not your other source of identification).

Notifications