function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stefaan Somers 12Stefaan Somers 12 

Alternative for URL hack

Hi,

in classic we used url hack to create a case with some lookup fields filled in. In that case you still had first the option to indicate the recordtype.

I now want this same functionality in Lightning. But if you want to provide default values like in record-edit-form, you need to specify the fields you want to see. But instead I want to use the page layout as linked to the record-type. We have about 60 page layouts, so I don't want to build up the screen for every page layout