Sample Code:
Schema.DescribeSObjectResult r = Directory_Edition__c.sObjectType.getDescribe();
String URLforObj = URL.getSalesforceBaseUrl().toExternalForm() + r.getKeyPrefix() + '/o';
Cheers!!!
Schema.DescribeSObjectResult r = Directory_Edition__c.sObjectType.getDescribe();
String URLforObj = URL.getSalesforceBaseUrl().toExternalForm() + r.getKeyPrefix() + '/o';
Cheers!!!
nice post thanks for sharing Valuable information
ReplyDeleteThis what i am searching for ....
ReplyDeleteTableau Training
This comment has been removed by the author.
ReplyDeleteI am extremely impressed with your writing skills and also with the layout on your blog
ReplyDeletesas online training
ReplyDeleteI enjoy reading through a post that will make people think. Also, many thanks for permitting me to comment!
SAP APO Online Training
ReplyDeletethis is valuable information for learners.thanks
SAP REFX Online Training in hyderabad