Return to Snippet

Revision: 30207
at August 10, 2010 03:45 by d3developer

Initial Code

//Get a reference to the Custom Object and gets its Key
Schema.DescribeSObjectResult result = customObject__c.sObjectType.getDescribe();

//navigate to the View Page
PageReference pageRef = New PageReference('/' + result.getKeyPrefix() + '/o');
return pageRef; 

Initial URL

Initial Description

Initial Title
boyd_r URL Navigation for Custom Objects

Initial Tags

Initial Language