have created custom Related list button using a VF page to created child record with default values. However, as I click the button it is opening in a new window and parent record detail page is missing in the background. Even if I cancel the record it shows a blank page instead of record detail page.
I am using sforce.connection.createRecord() to create the record.
2 comentários
I found this resource. Hopefully it will give you an idea on how to address your issue: https://salesforce.stackexchange.com/questions/116697/create-record-in-lightning-with-populated-fields