You need to sign in to do that
Don't have an account?
Linda 98
Unable to add parent fields on VF page using Field sets
we are using App from app exchange which is managed.
we are trying to edit VF page to display parent fields using field sets.we are not able to get them on to vf page.
What am i missing??
my VF page is as below.
we are trying to edit VF page to display parent fields using field sets.we are not able to get them on to vf page.
What am i missing??
my VF page is as below.
<apex:page standardController="Childobject__c" extensions="managedapexclass" recordSetVar="CO"> <script> window.onload = function(e) { var recordIds = '{!selected}'; var Objectname = 'Childobject__c'; var action = 'Edit'; var fieldsetName = 'Myfieldset name'; if(recordIds!='') { Redirect(recordIds,Objectname,action,fieldsetName); } else { alert('Please select a record.'); window.history.back(); } }; </script> <apex:form > <apex:actionFunction action="{!Redirect}" name="Redirect" rerender="none"> <apex:param name="recordIds" assignTo="{!recordIds}" value=""/> <apex:param name="Objectname" assignTo="{!objectName}" value=""/> <apex:param name="action" assignTo="{!action}" value=""/> <apex:param name="fieldsetName" assignTo="{!fieldsetName}" value=""/> </apex:actionFunction> </apex:form> </apex:page>
Zhen Yueh Lean
Hi Linda, I don't think you can add parent field to field set. But you can try to create a formula field that refers to parent field in child object. Then add it to field set.