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

Getting record details (say object type) with only ID
Hi,
I am working on a solution, where i have the ID of a record and would like to get the details of this record, say the object type of the record. This ID is from the ParentID of an attachment object. So basically i want to get the object type of record that contains this attachment. Any suggestions ? Thank you.
I am working on a solution, where i have the ID of a record and would like to get the details of this record, say the object type of the record. This ID is from the ParentID of an attachment object. So basically i want to get the object type of record that contains this attachment. Any suggestions ? Thank you.
I dont quite understand the answer provided thus far but would love to understand how to identify definitively which object a specific record comes from, provided I have an Id. For example, have 'Demo_Object__c' returned to me so I can then perform a modification on the record itself.
Any suggestions appreciated!