+ Start a Discussion
yaswanth kumaryaswanth kumar 

how to insert a record into standard or customs objects on loading visualforce page

Hargobind_SinghHargobind_Singh
Create a void method that inserts the contact, and specify that method in "Action" parameter for VF Page. 

e.g.:

<apex:page controller="YourController" action="{!yourActionMethod}">


Jacob CooperJacob Cooper
Can I use batch apex to move my records from one custom object record to another record? I've got two custom objects as studentcalculuscopy and studentcalculus: https://domyhomeworkonline.net/do-my-calculus-homework.php for my custom homework at Apex Academy. Homework tasks: Quarkus and TowardsDataScience.