Activity Forums Salesforce® Discussions Can we put list in the Map in Salesforce?

  • MOHIT

    Member
    August 11, 2020 at 12:25 pm
    • Yes, we can put list in the Map. Please find the code below.

    Map<Id, List<Opportunity>> MapList=New Map<Id, List<Opportunity>>();

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos