function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Linda 98Linda 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.
<apex:page standardController="Childobject__c" extensions="managedapexclass" recordSetVar="CO">
        window.onload = function(e) {
           var recordIds = '{!selected}';
           var Objectname = 'Childobject__c';
           var action = 'Edit';
           var fieldsetName = 'Myfieldset name';
            alert('Please select a record.');
 <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=""/>



Zhen Yueh LeanZhen 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.