You need to sign in to do that
Don't have an account?
Desai
Vf page in lightning mode
Hi,
We have developed VF page in SF classic mode but now the requirement is to use this page in lightning mode. How do we do it as i have no idea about lightning mode.
Thanks.
We have developed VF page in SF classic mode but now the requirement is to use this page in lightning mode. How do we do it as i have no idea about lightning mode.
Thanks.
WINTER-18 Update
new property for VF <apex:page> tag lightningStyleSheets="[false|true]" will supposedly be the single thing you need to do to convert VF pages to SLDS typestyles
- https://releasenotes.docs.salesforce.com/en-us/winter18/release-notes/rn_vf_lightningstylesheets.htm
Previous CommentsToo much for a comment
This is the Template page I use for all VF pages now. It allows me to control the Navigation and add SLDS styling all starting from the same point: Add in your own Error Message div to replace the standard page messages and use code to populate the message and go from there.
My VF pages now start like so: For more information please check below link.
- https://salesforce.stackexchange.com/questions/147023/what-is-suggested-approach-to-transfer-vf-pages-to-be-lightning-ready
Hope this helps.Kindly mark this as solved if the information was helpful.
Thanks,
Nagendra
I have a similar issue going on, it would be great if you could help with this!
We have a VF page page for the Account page layout. Since we are in th process of migrating to lightning, I was succesfully able to add the lightningstylehseets="true" to the vf page and change the UI to look like a lightning page. But I have a couple of broken links in the page. One of them is the 'Go to List' in the Activity History related list.
Here is the code for the related list on the vf page
<div data-dojo-type="dijit/layout/ContentPane" id="tabActivityHistoryPA" title="Activity History">
<apex:relatedList list="ActivityHistories" />
</div>
When the user clicks on 'Go to list' in Classic, it takes them to the list view of all the activities, but in in lightning it shows the following error message. Is there any workaround for this ? Please suggest
The Go to list link works perfectly fine in Lightning for all the related lists except Activity History & Notes&Attachments.