You need to sign in to do that
Don't have an account?

How do i get record type of a record using the ID?
I am trying to use schema object to retrieve record type using the ID. I am able to retrieve the object name say account using the below query, but how do i retrieve record type of the object using this information without SOQL
String objName = objId.getSObjectType().getDescribe().getName(); // Objid is the id of the record
String objName = objId.getSObjectType().getDescribe().getName(); // Objid is the id of the record
I do not believe this is possible. To get the recordtype for a specific record you would have to query it, something like this: Please remember to mark this thread as solved with the answer that best helps you.
Kind Regards
Stephen
All Answers
I do not believe this is possible. To get the recordtype for a specific record you would have to query it, something like this: Please remember to mark this thread as solved with the answer that best helps you.
Kind Regards
Stephen