sObject array parameter in Lightning causes Internal Salesforce.com Error in Apex controller
Last updated 2015-09-03 ·Reference W-2445975 ·Reported By 4 users
SObject array/list parameter in Controller causes Internal Salesforce.com Error
>Create a Lighning app as per the code provided in the Github:
>Launch the app
>Submit a single lead and it works as expected
>Submitting multiple leads causes the Internal Salesforce.com Error
Step1) Instead of passing the list of sobjects to APEX controller class, pass a json string of sobjects from the client Side JS.
Step2)De serialize the json string into a List of Sobjects in apex controller:
Eg Code Can found here:
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.