You need to sign in to do that
Don't have an account?

visualforce page to list cases by contact using 'case.contactId' - Lightning Design
Hi Community,
I have a business use case demand to show a list of Cases for the current associated Contact on the Case Feed.
I was able to achieve this with the below VisualForce Page:

Now, I am trying to set the CSS of the VisualForce Page to match the lighning design, with the below addition:
Can anyone assist in understanding what's the easiest way to 'tweak' the VF Page to have the Lighning UI?
Thakn you,
Ido.
I have a business use case demand to show a list of Cases for the current associated Contact on the Case Feed.
I was able to achieve this with the below VisualForce Page:
<apex:page standardcontroller="Case">
<apex:relatedList list="Cases" subject="{!Case.ContactId}"/>
</apex:stylesheet>
</apex:page>
As can be seen in the result, I have the traditional SalesForce CSS, which doesn't feet the overhaul Case Feed layout - based on Lightning: </apex:stylesheet>
</apex:page>
Now, I am trying to set the CSS of the VisualForce Page to match the lighning design, with the below addition:
<apex:stylesheet value="/resource/SLDS080/assets/styles/salesforce-lightning-design-system-vf.css">
And this doesn't seem to have any affect. Can anyone assist in understanding what's the easiest way to 'tweak' the VF Page to have the Lighning UI?
Thakn you,
Ido.
I now wonder if anyone can help getting the apex:relatedList to show as Lightning Vertical List:
https://www.lightningdesignsystem.com/components/utilities/lists/