Activity Forums Salesforce® Discussions How we can insert values of set in a Salesforce list?

  • shariq

    Member
    August 17, 2017 at 7:17 am

    Hi Shubham,

    You can use addAll method of list, for example :-

    List.addAll(SetElements)

    Hope this Helps.

  • Parul

    Member
    September 16, 2018 at 3:10 pm

    List<Contact> conlist=new List<Contact>();

    conlist.addAll(SetContacts);

     

    Thanks

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos