You need to sign in to do that
Don't have an account?
lavanya gottumukkala
Displaying fields in a field set dynamically in a VF page(Input/Output)
Hi All,
I have one field set in Account object.I want to display some fields in that field set as input fields and some other fields as output fields dynamically in a visualforce page(without hardcoding).How it is possible?Can any one tell me?It's Urgent!
Thanks in advance
I have one field set in Account object.I want to display some fields in that field set as input fields and some other fields as output fields dynamically in a visualforce page(without hardcoding).How it is possible?Can any one tell me?It's Urgent!
Thanks in advance
Not possible directly from field set configurations but you could develop a list configuration parrallel to field set
Field Display Mode - List Custom Setting
It will have tow fields: Field API Name, Display Mode
Query the values of this configuration and use it in your VFP to conditionally render apex:inputField or apex:outputField . Let me knowif you face any issues implementing.
Thanks
Shashikant
Please check below blog to check field set
http://amitsalesforce.blogspot.in/search/label/Field%20Set
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_field_sets.htm
Example 1
Example 2:-
Please let us know if this will help you
Thanks
Amit Chaudhary