More Related Content
Similar to Building Robust Applications with Dynamic Visualforce
Similar to Building Robust Applications with Dynamic Visualforce (20)
More from vraopolisetti (17)
Building Robust Applications with Dynamic Visualforce
- 24. Do you have projects that have a large number of fields involved? >100
- 36. Example #2 Fairly simple example 2: same across metadata driven field names. <apex:repeat value="{!accountFields}" var="field"> <apex:inputField value="{!Account[field]}" /> </apex:repeat> public List<String> getAcctFields() { Map<String, Schema.SObjectField> fieldmap = Schema.SObjectType.Account.fields.getMap(); List<String> fieldlist = new List<String>(); for(String fieldname: fieldmap.keyset()) { fieldlist.add(fieldname); } }