2

The JavaScript RegExp.exec() method returns null if it does not match: The exec() method executes a search for a match in a specified string. Returns a result array, or null. It appears that your regex is not matching the current URL when you load this component in your Flow.


2

System.debug(sObject) does not show parent or child relationships, only direct fields. The value is being queried, and is available in memory, but will not be output in a System.debug statement unless you somehow serialize the record: System.debug(JSON.serializePretty(caseList));


1

The outer [] means this is an array. You need two iterators: <aura:iteration items="{!v.mainRecords}" var="record"> <aura:iteration items="{!record.rows}" var="mainRec"> <div class="slds-col slds-size_1-of-6"> {!mainRec} </div> </aura:iteration> </aura:...


1

This is covered in the documentation. Use encodeDefaultFieldValues to get the correct encoding: import { encodeDefaultFieldValues } from 'lightning/pageReferenceUtils'; ... const defaultValues = encodeDefaultFieldValues({ FirstName: 'Morag', LastName: 'de Fault', LeadSource: 'Other' }); ... state: { defaultFieldValues: defaultValues }


Only top voted, non community-wiki answers of a minimum length are eligible