SalesforceLabs / EnhancedLightningGrid

Component that allows you to sort and filter data within the Lightning Experience. Use as a replacement for a Related List, or create a new grid that shows results from a custom query.
BSD 3-Clause "New" or "Revised" License
136 stars 97 forks source link

defaultFieldValues causing fields to not show on modal window #101

Open AdtrakChrisRutter opened 7 months ago

AdtrakChrisRutter commented 7 months ago

Hello. I'm trying to add an action to create a new invoice. The payload currently looks like this. { "entityApiName" : "Invoice__c", "defaultFieldValues" : { "Service_Agreement__c":"⌗parentrecordId⌗", "Account__c":"Service_Agreement__r.Account" } }

When we click on the "New" button, the invoice modal is launched, but the Service Agreement and Account fields are missing from the modal view. If we remove the defaultFieldValues from this Payload, they reappear.

Any idea what I've done wrong?