function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ananthanarayanan NemmaraAnanthanarayanan Nemmara 

Storing list of values from apex class to field of another object

Hi All,

We have made a lightning component which allows the user to select sales representative and choose the accounts for which the sales representatives want to change the owner. As soon as this is done,a record in request(custom) object is created stating the to and from salesperson. But here i am not able to display the accounts. I am receiving the ids of the accounts in my controller but how can i save these ids in request object(which datatype)?