I'm trying to use Salesforce describe methods to get an object dynamically, and they get all the labels to that object.
I am trying to use the following code, but the map being returned doesn't include formula fields. Any idea on how I can accomplish this?
Map<String,Schema.SObjectType> gd = Schema.getGlobalDescribe();
Map<String,Schema.SObjectField> fieldMap = gd.get( 'Custom_Object__c' ).getDescribe().fields.getMap();