1

I want to load multiple records using lightning data service without using any apex controllers. Is it possible?

2 Answers 2

4

As per Salesforce Docs:

Lightning Data Service supports primitive DML operations—create, read, update, and delete. It operates on one record at a time, which you retrieve or modify using the record ID.

SO you need to create multiple instance of it to handle bulk operation which is not recommended.

Considerations

2

LDS is not intended for bulk data loads, and has no real query capabilities beyond the current object. It is meant for lightweight quick actions and the such.o load or save a lot of records at once will cause a significant performance penalty.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .