You need to sign in to do that
Don't have an account?
dipu2
How can I display custom field value column in a VF Page?
How do I put this syntax in VF page? I have getExtraColumn1Name() in the controller. My code is in managed package. I want to display custom fields added by our customer.
<apex:column rendered="{!showExtraColumn1}"> <apex:outputField value="{!itemSO['ExtraColumn1Name']}" /> </apex:column>
value="{!itemSO[ExtraColumn1Name]}" gives an error message saying could not evaluate SampleTable__c[ExtraField1__c] which is understandable. I do not see any way to place the quote around the fieldName in this syntax {!itemSO[<fieldName>] }.
Thanks,
Dipu