+ Start a Discussion
sady shitolesady shitole 

lightning design on VF page for Fieldset

We have an exisitng VF page where FIELDSETS is been used. FIELDSET has multiple fields like Text,Textarea,checkbox,richtext etc.
We have to apply lightning stye using Lightning desgin system but since the fields are commign dynamically .
We are unable to render styles on individual fields . Is there any solution on this ?


            <apex:pageBlockSection title="Information" columns="1" showHeader="true" 
                collapsible="false" rendered="{!layoutType == 1}">
               
                <apex:repeat value="{!$ObjectType.INFO__c.FieldSets.Marketing_Information}" var="field">
                    <apex:inputField value="{!objInteraction[field]}"/>
                </apex:repeat>
            </apex:pageBlockSection>
 
Rahul SherikarRahul Sherikar
Hi sady shitole,

If you have found solution/alternative for this then please post it here, it will help a lot.
Rahul Gupta 166Rahul Gupta 166
Hi , 

Try using the Below in 

<apex:page standardController="Contact" recordSetVar="contacts" lightningStylesheets="true">

I guess this will hellp you . It is new feature in Winter Release . It will make the Page content visible as classic in Classic and It will change automatically to Lightning whenever you Switch.


Best Regards 
Rahul
Augusta GunnAugusta Gunn
If you want to do it all in lightning: http://lightninghack.com/generic-fieldsets-lightning/