Activity Forums Salesforce® Discussions What is the use of newSObject(recordTypeId, loadDefaults) method in Salesforce ?

  • What is the use of newSObject(recordTypeId, loadDefaults) method in Salesforce ?

    Posted by Kirandeep on September 7, 2020 at 11:15 am

    What is the use of newSObject(recordTypeId, loadDefaults) method in Salesforce ?

    Shweta replied 4 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Shweta

    Member
    September 7, 2020 at 3:59 pm

    newSobject(recordTypeId, loaddefaults): It is used to constructs a new sObject of this type, and optionally, of the specified record type ID and with default custom field values.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos