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
Rodrigo_RochaRodrigo_Rocha 

Dynamic link to different list views within a Lightning:card component footer

Hi everyone, 

Here is the scenario... I'm trying to create a link, within a lightning:card footer section, to a list view based on the current user.

So, basically, if a field on the user's record is set to one value, I want the link to point to one list view, if it's set to another value I want the link to point to another list view.

I'm having a hard time using the lightning:navigation to make it dynamic, as it looks like force:navigateToList is no longer supported.

I couldn't find any samples online.

Any help?