Record creation using JavaScript in Salesforce Visualforce Page
soap/ajax/54.0/connection.js library can be used to create records using JavaScript in Salesforce. There is no need to use Apex. Sample Code: <apex:page > <script type="text/javascript"> let __sfdcSessionId = '{!GETSESSIONID()}'; </script> ....