Activity Forums Salesforce® Discussions Can we fire a trigger in DoInit method of Salesforce Client Side Controller?

  • sushant

    January 23, 2017 at 10:12 am

    Hi Tanu,

    You can fire trigger only after some DML operation is performed.So you can't fire trigger in Doinit method unless any DML operation is performed.


  • Pooja

    January 29, 2020 at 2:51 pm

    No, you can't fire a trigger in Dolnit method of client side controller.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos