Activity Forums Salesforce® Discussions How can we insert records in custom object from standard object

  • How can we insert records in custom object from standard object

    Posted by chanchal kumar on August 29, 2018 at 12:38 pm

    How can we insert records in custom object from standard object, let say "Lead", without any relation between objects?

    shariq replied 5 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Parul

    Member
    August 29, 2018 at 12:41 pm

    Hello Chanchal,

    We can insert record using trigger.

    Refer this link as example: https://salesforce.stackexchange.com/questions/178606/insert-custom-objects-record-into-standard-object

    Thanks

    Parul

  • shariq

    Member
    September 14, 2018 at 10:32 pm

    Hi,

    You need to write the trigger on one object in insert case and in that trigger insert your another object.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos