Activity Forums Salesforce® Discussions Getting Name of Record Instead of It's Id

  • shalini

    Member
    April 27, 2016 at 7:06 am

    Schema.SObjectType.Account.getRecordTypeInfosByName().get('Development');

    Here, 'Development' is the record type's name. Also, you will have to specify your SObject type, here I have mentioned Account.

  • Ajit

    Member
    April 27, 2016 at 8:26 am

    Hey Amit

    Rather than using this {!Product2.anyField} try this {!Product2.Lookupfield.Id}

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos