We're looking at moving to Lightning and need to update some of our visualforce pages. I love how easy it is to add the attribute lightningStyleSheets="true" to style a page for lightning. The only hitch is that we have two visual force pages. One contains a few different items including a button to the second page. When users click this button they're redirected to the second page but they're missing the Lightning Navigation bar. How do I get this back? #LEX4VF
8 commentaires
@Hilary Henderson - You will have to use sforce.one navigation methods to navigate to the name page, specifically sforce.one.navigateToURL.
See the below docs -
https://help.salesforce.com/articleView?id=lex_prepare_vf_window.htm&type=5https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/salesforce1_dev_jsapi_sforce_one.htm