I'm trying to get a list of all objects and the URLs that lead to their page in the Setup:
From the docs I'd expect the below to work but it returns:
"Expression of type Schema.DescribeSObjectResult has no member named urlDetail"
"Expression of type Schema.DescribeSObjectResult has no member named urlDetail"
List < Schema.sObjectType > objectSchema = Schema.getGlobalDescribe().Values();
for (Schema.sObjectType obj: objectSchema) {
DescribeSObjectResult describe = obj.getDescribe();
System.debug(describe.urlDetail);
}