function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prati@salesforceprati@salesforce 

Visualforce to be called from lightning component

Hi forum,
I am trying to create a lightnign component to be used as a home page in Salesforce classic. So i a creating a vf page to include a lightning component in it to be used by home  page layout.
My question is , how can I include a link on my lightning component to navigate to anoher vf page or documents? For eg: in vf page we use <apex:outputLink value="{!$Page.SafetyHomePage_MyLocations}" styleClass="list-group-item" target="_blank"> for another page or
<apex:outputLink value="{!$Page.SafetyHomePage_MyLocations}" styleClass="list-group-item" target="_blank"> for document.
How can I try similar functionality in Lightning component. I tried using force: NavigateToURL but that doesnt seem to work.
Any help would be appreciated.
Thank you