You need to sign in to do that
Don't have an account?
honda57
Cannot get Field Set to show up
Here is my code. I refresh using a valid recordID and it comes up completely blank...
<apex:page standardController="Lead">
<apex:repeat value="{!$ObjectType.Lead.FieldSets.QDR_Information}" var="f">
<apex:outputText value="{!Lead[f]}" /><br/>
</apex:repeat>
</apex:page>
Am I missing something? Tutorials are very simple for this yet I can't get it to work...
as you are using output text in the page it will expect some value to render but no value is assigned or auto populate based on the logic...if you want to see the filedset you can try like below
<apex:page id="pageId" standardcontroller="Lead">
<apex:form id="formId">
<apex:pageblock id="pbId">
<apex:pageblocksection columns="1" id="pbsIs">
<apex:repeat value="{!$ObjectType.Lead.FieldSets.QDR_Information}" var="f">
<apex:inputfield value="{!Lead[f]}">
</apex:inputfield></apex:repeat>
</apex:pageblocksection>
</apex:pageblock>
</apex:form>
</apex:page>
Thanks. That works, but is there a way to make the fields dynamically editable via double-click?
<apex:outputfield> just makes the field and values visible. I want the user to be able to edit them. Is there a simple attribute I need to add?