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
JohnDuraiJohnDurai 

Custom Lightning Button for creating case record

Hi - I want to create a lightning button (LWC) which should create case and place it in Campaign Member object page layout, also it should auto autopopulate few values from case object such as accountid, contactid, recordtype. can someone help me out. Thanks!
PriyaPriya (Salesforce Developers) 

Hey John,

check if this code given int this link, helps :-
https://developer.salesforce.com/forums/?id=9062I000000XwvnQAC

Thanks,

Priya Ranjan