Answers for "apex get object fields by api name"

0

apex get object fields by api name

SObjectType objectType = Schema.getGlobalDescribe().get('<Object API Name>');
Map<String,Schema.SObjectField> fieldMap = objectType.getDescribe().fields.getMap();
Posted by: Guest on February-17-2020

Code answers related to "apex get object fields by api name"

Browse Popular Code Answers by Language