You need to sign in to do that
Don't have an account?
kailash chandra 25
how to differentiate standard object and custom object by Id ?
Using apex how can i differentiate between standard object and custom object?
I have an Id Type of object that might be either a standard object or custom object.
I have an Id Type of object that might be either a standard object or custom object.
When you click on object in salesforce in the URL you can find 3 digit id. Salesforce predefined id's for Standard object.
Below are the id's for standard objects.
http://salesforcedevelopersclub.blogspot.com/2013/07/salesforce-object-id-prefixes.html
Let me know if you have any confusion.
Kindly mark this as solved if the reply was helpful.
Thanks,
Murali
All Answers
All Custom object ends with __c whereas standard object does not end with __c
When you click on object in salesforce in the URL you can find 3 digit id. Salesforce predefined id's for Standard object.
Below are the id's for standard objects.
http://salesforcedevelopersclub.blogspot.com/2013/07/salesforce-object-id-prefixes.html
Let me know if you have any confusion.
Kindly mark this as solved if the reply was helpful.
Thanks,
Murali