Hello epani, It is very easy to get the custom object id in Salesforce is like go to any record the starting 3 characters will be the id of object like Account object is 001 and Contact 003 and also custom object as well look in to url.
If it helpfull,please mark it as KUDOS for other benefits.
It is very easy to get the custom object id in Salesforce is like go to any record the starting 3 characters will be the id of object like Account object is 001 and Contact 003 and also custom object as well look in to url.
If it helpfull,please mark it as KUDOS for other benefits.
Thanks
Srinivas
SFDC Developer.
Hi,
You can look into the URL or use this in console and type the respective sobject name to get its ID
Schema.DescribeSObjectResult r = Account.sObjectType.getDescribe();
String keyPrefix = r.getKeyPrefix();
From the above Code u can get the id of account object
Also look into this for more Info
http://salesforce.stackexchange.com/questions/5814/how-to-get-id-of-a-object
I hope below link help you!
http://salesforce.stackexchange.com/questions/31788/finding-a-custom-object-id-01i-to-get-the-setup-page-url
Thanks,
Rockzz
go through the below link to know how the id will be calculated in salesforce.
http://astadiaemea.wordpress.com/2010/06/21/15-or-18-character-ids-in-salesforce-com-%E2%80%93-do-you-know-how-useful-unique-ids-are-to-your-development-effort/