1

The field logic should be as follows, just need to use the commented code during the selectOption assignment. public List<SelectOption> getObjectFields() { Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe(); Schema.SObjectType ObjectSchema = schemaMap.get(selectedObject); Map<String, Schema.SObjectField> ...


1

apex:variable is not supported in iterators. The documentation states this explicitly: Note: <apex:variable> does not support reassignment inside of an iteration component, such as <apex:dataTable> or <apex:repeat>. The result of doing so, e.g., incrementing the <apex:variable> as a counter, is unsupported and undefined. Sometimes ...


Only top voted, non community-wiki answers of a minimum length are eligible