• #21690
    Salesforce | Shubham Shubham #120
    Forcetalks

    How we can insert values of set in a Salesforce list?

    I have a set with 3 different  Contact I want to move these Contact in a  List…

     

    #21691
    Salesforce | shariq shariq #1
    Forcetalks

    Hi Shubham,

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

    List.addAll(SetElements)

    Hope this Helps.

    #34553
    Salesforce | Parul Parul #2
    Forcetalks

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

    conlist.addAll(SetContacts);

     

    Thanks

     

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?