Activity Forums Salesforce® Discussions How do you use the wrapper class list in lightning component?

  • Anjali

    Member
    December 11, 2020 at 12:37 pm

    @AuraEnabled
    public static List<Wrapperclass> saveDataDML(String listToSaveString){
    List<Wrapperclass> listToSave = (List<Wrapperclass>)JSON.deserialize(listToSaveString, List<Wrapperclass>.class);

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos