+ Start a Discussion
NNRNNR 

Regarding visualforce page

Q:i have created vf page with account standardcontroller and extensions,
it is possible to access fiedset of opportunity object in my vf page fieldset name is:oppfieldset

plz help me out..........................
SonamSonam (Salesforce Developers) 
Yes, it is possible to display a field set on a visualforce page: please check the sample code on the doc on the below link:
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_fieldsets_describe.htm
NNRNNR
Hi SOnam,
My query is i writing visualforce page by using standardcontroller is Account,but i want use the opportunity fieldset in visualforce page
<apex:repeat value="{!$ObjectType.opportunity .FieldSets.RelatedList}" var="f" >
                <apex:column value="{!rec.obj[f]}" />
            </apex:repeat>

by using above one it is showing error in page
SonamSonam (Salesforce Developers) 
Sorry, my bad! Didn't see that you wish to use the Opportunity Field set - tried the same in my ORG and it is giving the error.I believe thid is not possible using Account Standard controller.