how to get the name of all field in apex using apex getdiscribe code example Example: apex get object fields Map fieldMap = Schema.SObjectType..fields.getMap();