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 7 years, 9 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

  • [adinserter block='9']
  • 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.