You need to sign in to do that
Don't have an account?
Dheeraj Chawla
How can i get the field of any sobject dynamically and i wanted to show all fields of any sobject on VF page..?
Right now, I am using these line of code
Map<String, Schema.SObjectType> all_object = Schema.getGlobalDescribe();
Map<String,Schema.SObjectField> field = all_object.get(rule_type).getDescribe().fields.getMap();
but can't able to show the result on VF page....can anyone help me in this..?
Map<String, Schema.SObjectType> all_object = Schema.getGlobalDescribe();
Map<String,Schema.SObjectField> field = all_object.get(rule_type).getDescribe().fields.getMap();
but can't able to show the result on VF page....can anyone help me in this..?
Sindhu1234
check this https://developer.salesforce.com/forums/?id=906F0000000957JIAQ