You need to sign in to do that
Don't have an account?
Prefixes in Salesforce Objects
Good Day!
I'm creating an audit trail using a custom object. My problem is that I need to take note to which object does a record belong to.
Audit Trail | |
ObjectID | Action |
I learned that Salesforce Object Id's are prefixed say Account Id's are prefixed 001, Contacts 003 etc.
I would just like to know if these are documented So that I could just parse the ID's and know which object it come from.
Knowing it is documented saves me from the worry that my program will still work in latter or earlier versions of salesforce I would really appreciate a reply.
Thanks in advance !!!
Message Edited by alexsummers on 03-01-2005 05:31 PM
Alex,
I have never found these in written form, but they are documented by the describeSobject API call ... one of the fields returned by this gives you the prefix.
I realize that this doesn't answer your real issue ... wanting assurance that these will not change.
Someone from salesforce want to reassure him?
Scot