Appunti
Apex Cast String to Boolean
Boolean a = false; if(String.isNotBlank(params.get(‘b’))){ a = Boolean.valueOf(params.get(‘b’)); [METODO 1] a = (Boolean) JSON.deserialize(params.get(‘b’), Boolean.class); [METODO 2] }
Boolean a = false; if(String.isNotBlank(params.get(‘b’))){ a = Boolean.valueOf(params.get(‘b’)); [METODO 1] a = (Boolean) JSON.deserialize(params.get(‘b’), Boolean.class); [METODO 2] }
Trailhead Qui dentro trovi informazioni su: @api @wire createRecordupdateRecorddeleteRecord Incapsulamento dei component o gerarchia Trailhead LWC: Eventi Trailhead
Alcuni esempi di codici per LWC Binding Variabili import { LightningElement } from ‘lwc’; export default class App extends LightningElement { name = ‘Electra X4’; description = ‘A sweet bike built for comfort.’; category = ‘Mountain’; material = ‘Steel’; price Leggi tutto…
Questi appunti sono presi durante lo studio di Salesforce Aura Specialist Challenge 2 Classi Apex che interaggiscono con il component public with sharing class BoatSearchFormController { @AuraEnabled public static List getBoatTypes() { return [SELECT Id, Name from BoatType__c ORDER BY Leggi tutto…